First page Back Continue Last page Graphics
Translation Files
- Translations are stored in .json formatted files.
- It loads them by looking in the "nls" folder of your App's folder. It uses the "lang" variable to find the appropriate file for that language as follows.
- nls/text-en.json
- nls/text-en_{country}.json
- nls/text-{lang}.json
- nls/text-{lang}_{country}.json
- As each is loaded, values are updated if the key exists from a previous load. Therefore, the last one in wins. The “text-en.json“ file is required to contain 100% of your translatable keys. The others, only have add the keys they want to override.