This project uses GNU gettext for translations.
In the po/
directory (from the repository root), run:
msginit -l ??
Replace ??
with your ISO 639-1 language code.
👉 Example: To create a French .po
file:
msginit -l fr
In some cases, you may need to include your country code as well. 👉 Example for Belgian Dutch:
msginit -l nl_BE
This will create a new .po
file in the current directory.
In the generated .po
file, ensure the Content-Type
line uses UTF-8 encoding:
"Content-Type: text/plain; charset=UTF-8\n"
meson devenv
This sets the environment variable DEALERSCHOICE_LOCALEDIR
to the directory where translations are located when not installed.
✅ If you run into any issues, feel free to ask for help.