lutris/po
2020-09-22 09:01:44 -07:00
..
fr.po Add French translation 2020-04-22 10:15:13 -07:00
hr.po Update Croatian translation 2020-09-22 09:01:44 -07:00
LINGUAS Update Croatian language and README.md 2020-07-08 18:17:15 -07:00
meson.build Revert "i18n: automatically generate POTFILES and LINGUAS" 2020-06-18 19:11:32 -07:00
nl.po Added Dutch translation 2020-06-24 22:14:55 -07:00
POTFILES Update POTFILES 2020-06-24 22:14:55 -07:00
README.md Update hr.po and README.md 2020-07-13 21:19:24 -07:00
tr.po Create tr.po 2020-06-18 19:13:39 -07:00
zh_CN.po i18n: update zh_CN translation about lutris-window.ui 2020-06-26 17:56:36 -07:00

i18n

Translations are not implemented yet, see github issue #728. Please read the notes before opening a PR.

Updating a translations

meson builddir
ninja lutris-update-po -C builddir

Now update the $LANG.po file, and run after that

ninja lutris-update-po -C builddir
rm -Rf builddir

and commit your changes.

Creating a translation

meson builddir
ninja lutris-pot -C builddir
mv po/lutris.pot po/$LANG.po

Now edit the $LANG.po file, add $LANG to the LINGUAS file, and run after that

ninja lutris-update-po -C builddir
rm -Rf builddir

and commit your changes.

Notes

  • Only commit changes for the translation file you actually edited.
  • Ignore or delete the first four lines (copyright notice) in the $LANG.po files.
  • Keep the LINGUAS file sorted alphabetically.
  • Languages can't be tested without installing Lutris via meson:
    rm -Rf builddir
    meson builddir --prefix=~/.local
    ninja install -C builddir
    
    rm -Rf builddir
    meson builddir --prefix=~/.local
    ninja install -C builddir
    env LANGUAGE=$LANG ~/.local/bin/lutris