i18n
Learn how manage i18n translation.
We store the translations in the locales
folder.
Each language has its own file By Default list of languages is en
, id
and ja
.
The file are located in locales/languages.json
, and default selected language for translation is English.
Add translation
You can add the translation by adding a new key-value pair in the default translation file.
You can use command that we have provided to build other translation file automatically.
Or you can add manually in other transition file.
Usage
How customize languages
You can customize the languages in locales/languages.json
. For example, add new france language.
How change default language
To change default language you can edit on scripts/locales-generator.ts
.