mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
i18n: expose the LoaderConfig from the main i18n instance and add an example
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
This commit is contained in:
2
_examples/i18n/i18n-template/locales/el-GR/welcome.yml
Normal file
2
_examples/i18n/i18n-template/locales/el-GR/welcome.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
Dog: "σκυλί"
|
||||
HiDogs: Γειά {{plural (tr .locale "Dog") .count }}
|
||||
2
_examples/i18n/i18n-template/locales/en-US/welcome.yml
Normal file
2
_examples/i18n/i18n-template/locales/en-US/welcome.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
Dog: "dog"
|
||||
HiDogs: Hi {{plural (tr .locale "Dog") .count }}
|
||||
Reference in New Issue
Block a user