-
Notifications
You must be signed in to change notification settings - Fork 23
[Tutorial] Adding or updating a translation
This tutorial is meant for both developers and non-developers
TODO: Document transifex process and maybe deprecate below informations.
MellowPlayer is ready for internationalization, you just need to localize it for your own region/language.
Currently MellowPlayer has been localised to:
- french (fr)
If your language is not in the above list, you will first need to add a new translation. To do that, follow the next steps:
-
Open src/languages/Languages.cmake in a text editor
-
Add a line for your language. For example, to add a german translation, you would need to add
languages/MellowPlayer_de.ts
.
Before:
set(TS_FILES
languages/MellowPlayer_en.ts
languages/MellowPlayer_fr.ts)
After:
set(TS_FILES
languages/MellowPlayer_de.ts
languages/MellowPlayer_en.ts
languages/MellowPlayer_fr.ts)
- Build MellowPlayer with the cmake option -DUPDATE_TRANSLATIONS or open a pull request so that the author can generate the translation files.
This section is intended for project owner as reminder.
Run cmake with -DUPDATE_TRANSLATIONS to create new translations and update existing translations.
This wiki is public. You are encouraged to come and share all kind of personal contributions: new pages, improvements to existing pages, or even simple corrections.