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 = 4, B = 9, C = 2, D = 8
File References
Where i18n is wired up
-
보기
example/lib/widgets/example/i18n.j2.html -
컨트롤러
example/lib/controllers/home_controller.dart -
언어 디렉토리
example/lib/languages