Localization
Kuvasz is easily localizable (UI, notifications), if you would like to add a new language, you can do so by following the steps below.
Adding a new language
- Fork the Kuvasz repository
- Clone the English (or any other) translation, and name it after your language's 2-letter ISO code, for example
Messages_de.properties
for German - Translate the messages in the file to your language, keeping the keys intact. Regarding the format, you can find more details here. Do NOT remove the comment lines (starting with
#
), as they contain important information about the message keys and their usage. Also, please don't change the order of the keys, as this would make it harder to compare the translations with the English version. - Make sure that you've updated the documentation regarding the available languages.
- Try out your translation by running the application with your new translation file
- Use the convenience script to check if your translation file matches the English version structurally, by running
./gradlew validateI18N
- Submit your PR with the new translation file
Tip
If you are not sure about the 2-letter ISO code of your language, you can find them here.