mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 15:11:20 +00:00
- the l10n workflow using an external service is no longer used - update the I18N.md readme file Fixes #21334
1.6 KiB
1.6 KiB
Internationalization (i18n)
App is translated to many different languages through lokalise.com platform. For this purpose, we are using Qt's TS file format. There are excellent manuals detailing the translation process for developers, release managers and translators in the Linguist manual (Qt's translation tool).
Developer workflow
Update base translations file
- Update the base TS files (
qml_base.tsandqml_en.ts, the latter serving only for the purpose of providing plural forms for English):
$ make update-translations
- The updated TS files are created in the
ui/i18n/directory - Ensure the updated base files land in master
The resulting binary QM files are also produced by simply running make via make compile-translations subtarget
Update translations
- Simply attach the changed TS files to your PR; we have CI checks in place that enforce this
- If adding a brand new language, make sure to add the new TS file to
ui/i18n/CMakeLists.txtas well
Translator workflow
- For editing TS files, we use the Qt's official Linguist tool
- For AI guided translations, please refer to the respective Linguist's chapter: AI translation
- Recommended AI model: translategemma:27b; offers large enough context window, and supports a wide array of 55 languages