i18n
RTL/LTR
{$t} helper
Dil Testi (i18n)
Translate any string with {$t('key')}, support parameters, dynamic keys, and switch the active language on the fly.
Turkish
tr
Languages
24
Active
tr
Choose a language
Click any flag to switch the active locale
Translation examples
Same template, six different ways to call $t()
Plain string
Örnek TString
Nested path
Örnek Yol
Path string
Örnek Yol Dizesi
Params (raw)
Adım {name}, yaşım {age}
Params (with values) name=Jack, age=20
Merhaba, benim adım Jack ve ben 20 yaşındayım.
Dynamic key
A = 3, B = 6, C = 8, D = 8
File References
Where i18n is wired up
-
Görüntüle
example/lib/widgets/example/i18n.j2.html -
Kontrolör
example/lib/controllers/home_controller.dart -
Diller dizini
example/lib/languages