✨ Añade soporte para localización y traducción
- Incluye recursos Fluent básicos y pruebas asociadas. - Nueva variable de configuración global para definir el idioma predeterminado.
This commit is contained in:
parent
a7b0c0aa5e
commit
4f08a50a8f
13 changed files with 780 additions and 3 deletions
11
src/locale/en-US/test.ftl
Normal file
11
src/locale/en-US/test.ftl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
test-hello-world = Hello world!
|
||||
test-hello-user = Hello, { $userName }!
|
||||
test-shared-photos =
|
||||
{ $userName } { $photoCount ->
|
||||
[one] added a new photo
|
||||
*[other] added { $photoCount } new photos
|
||||
} of { $userGender ->
|
||||
[male] him and his family
|
||||
[female] her and her family
|
||||
*[other] their family
|
||||
}.
|
||||
Loading…
Add table
Add a link
Reference in a new issue