- Checkout repository
- Make sure development environment is set up correctly for your OS
- Create a new translation file by running
just add-translation <locale> # just add-translation fr_FR
- New
<locale>.ts
file appears in thei18n
directory - Translate the
ts
file using Qt Linguist 6:pyside6-linguist i18n/<locale>.ts # pyside6-linguist i18n/fr_FR.ts
- To test the translation:
- Make the application portable
touch portable
- Run
just build-develop
- Start the application and close it
- Edit the
appdata/settings.ini
[Common] language=<locale>
- Start the application
- Make the application portable
- Add a new entry in the
qml/models/MpvqcLanguageModel.qml
file - Open a new pull request