The interface can be translated to various languages. For adding a translation, one needs to do the following:
- In
client/src/config.json, add your new language. The "iso" key is the ISO language code, i.e. it should be accepted by "i18next" and "GNU gettext"; the "flag" key is once accepted by react-country-flag. - Run
npm run translate. This should create a new fileclient/public/locales/{language}/translation.json. (Alternatively, you can copy-pasteclient/public/locales/en/translation.json.) - Add all translations.
- Commit the changes you made to
config.jsontogether with the newtranslation.json.
For translating games, please see the dedicated pages for game maintainers and game translators.