i18n
RTL/LTR
{$t} helper
Тестирование языка (i18n)
Translate any string with {$t('key')}, support parameters, dynamic keys, and switch the active language on the fly.
Russian
ru
Languages
24
Active
ru
Choose a language
Click any flag to switch the active locale
Translation examples
Same template, six different ways to call $t()
Plain string
Пример TString
Nested path
Пример пути
Path string
Пример строки пути
Params (raw)
Меня зовут {name}, мне {age} лет
Params (with values) name=Jack, age=20
Привет, меня зовут Jack, и мне 20 лет.
Dynamic key
A = 7, B = 1, C = 2, D = 6
File References
Where i18n is wired up
-
Просмотр
example/lib/widgets/example/i18n.j2.html -
Контроллер
example/lib/controllers/home_controller.dart -
Каталог языков
example/lib/languages