You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Nov 18, 2024
·
10 revisions
Language Data
Firstly, you need to edit these two main text files:
assets/languages/languagesList.txt - Your list of languages. (e.g., de, en, es, fr)
assets/languages/languagesData.txt - This is so that your language can be pushed into LanguagesState.hx.
To add your language into languagesData.txt, use this format:
Name (Country):code
So, for example, if you wanted to add German, it would look like:
Deutsch (Deutschland):de
Now, you need your .json file, which should be located in assets/languages/[language-code].json.
Of course, this contains the data for your language.
To add your data, just copy this, and edit it with your translations.