$ composer create-project nette/web-project
$ composer require kdyby/translation
config.neon
přidáme extensionapp/lang
přidáme dva soubory ui.cs_CZ.neon
a ui.en_US.neon
ru_RU
Keeping both the language and the country in the culture is necessary because you may have a different French translation for users from France, Belgium, or Canada, and a different Spanish content for users from Spain or Mexico. The language is coded in two lowercase characters, according to the ISO 639-1 standard (for instance, en for English). The country is coded in two uppercase characters, according to the ISO 3166-1 standard (for instance, GB for Great Britain).
{_ ui.title}
pro vypsání překladu.