i18n
RTL/LTR
{$t} helper
भाषा परीक्षण (i18n)
Translate any string with {$t('key')}, support parameters, dynamic keys, and switch the active language on the fly.
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 = 1, B = 6, C = 7, D = 3
File References
Where i18n is wired up
-
देखें
example/lib/widgets/example/i18n.j2.html -
नियंत्रक
example/lib/controllers/home_controller.dart -
भाषाओं की निर्देशिका
example/lib/languages