Choose a language

Click any flag to switch the active locale

Translation examples

Same template, six different ways to call $t()

Plain string

Esempio TString

Nested path

Esempio di percorso

Path string

Esempio di stringa di percorso

Params (raw)

Mi chiamo {name}, la mia età è {age}

Params (with values) name=Jack, age=20

Ciao, mi chiamo Jack e ho 20 anni.

Dynamic key

A = 2, B = 1, C = 3, D = 9

File References

Where i18n is wired up

  • Visualizza
    example/lib/widgets/example/i18n.j2.html
  • Controller
    example/lib/controllers/home_controller.dart
  • Directory delle lingue
    example/lib/languages