Choose a language

Click any flag to switch the active locale

Translation examples

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

Plain string

Przykład TString

Nested path

Przykład ścieżki

Path string

Przykład ciągu ścieżki

Params (raw)

Moje imię to {name}, mój wiek to {age}

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

Cześć, nazywam się Jack i mam 20 lat.

Dynamic key

A = 1, B = 0, C = 8, D = 5

File References

Where i18n is wired up

  • Widok
    example/lib/widgets/example/i18n.j2.html
  • Kontroler
    example/lib/controllers/home_controller.dart
  • Katalog języków
    example/lib/languages