-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Translating darktable
Aurélien PIERRE edited this page Dec 16, 2020
·
6 revisions
Translatable strings are tagged in the C source code, so they can automatically be fetched and compiled into a translation database. The translations are stored in src/po
.
- Get darktable repository with Git (git needs to be installed on your computer):
$ git clone https://github.com/darktable-org/darktable.git
$ cd darktable/src/po
- Update the translatable strings from the C and C++ source code with intltool (which needs to be installed on your computer too):
$ intltool-update -pot
- Init or update your language support:
$ intltool-update CODE
where CODE
has to be replaced by your ISO 639-1 language code (2 letters).
- Open the translation file in Poedit GUI (which needs to be installed on your computer) :
$ poedit CODE.po
From that point, you only need to deal with Poedit to translate strings, command line work is done.
- Save the
.po
file from Poedit and send it to us, either by:- opening a [https://github.com/darktable-org/darktable/pulls](pull request)
- mailing it as attachment to
darktable-dev@lists.darktable.org
darktable wiki is licensed under the Creative Commons BY-SA 4.0 terms.