tuhi/po
Peter Hutterer 7677ce60eb Add all the hooks required for translation 2019-07-16 21:54:50 +10:00
..
LINGUAS Add all the hooks required for translation 2019-07-16 21:54:50 +10:00
POTFILES Add all the hooks required for translation 2019-07-16 21:54:50 +10:00
README.md Add all the hooks required for translation 2019-07-16 21:54:50 +10:00
meson.build Add a GUI for Tuhi 2019-07-11 11:05:39 +10:00

README.md

i18n

This directory contains the translations of TuhiGui.

For errors in translations, please file an issue.

New or updated translations are always welcome. To start a new translation, run:

    $ meson translation-build
    $ ninja -C translation-build tuhigui-pot
    # Now you can optionally remove the build directory
    $ rm -rf translation-build
    $ cp po/tuhigui.pot po/$lang.po

where $lang is the language code of your target language, e.g. nl for Dutch or en_GB for British English. Edit the LINGUAS file and add your language code, keeping the list sorted alphabetically. Finally, open the .po file you just created and translate all the strings. Don't forget to fill in the information in the header!

To update an existing translation, run:

    $ meson translation-build
    $ ninja -C translation-build tuhigui-update-po
    # Now you can optionally remove the build directory
    $ rm -rf translation-build

and update the po/$lang.po file of your target language.

When you are done translating, file a pull request on GitHub or, if you don't know how to, open an issue and attach the .po file there.