doc/TRANSLATORS.md
darktable's user interface can be translated into many languages.
In short, to support a translation, the build process needs a xx.po file with the two-letter language code, e.g. fr.po.
To make sure your translation makes it into an official build:
The application uses gettext engine for translation, and it works like this, a text based editable PO file contains a number of sequences containing:
The build system then creates a binary version of each PO file with MO file extension and places it in a system directory where a running instance of darktable will pick it up and use it to replace English text with target language text.
(officially) Translate the darktable User Interface for darktable releases (how-to, no git, just email) below)Get the PO file for your language from the repository -> po
To support making release translations easier, the darktable build process automatically creates a PO template (.POT) file, darktable.pot to use as base.
Get the latest darktable.pot file.
Put both files on the same directory. Open the po file with a po file editor, e.g. poedit:
$ poedit <your_lang>.po
$ poedit darktable.pot
Update the PO file using the POT file: go to menu [Catalog] ->
[Update from POT file...] and select darktable.pot file.
Start translating. Saving will update <lang>.po.
When you are done, bzip2 your PO file and send it to the mailing list or per instructions on the wiki.
That's all!