Newer Older
1 2 3 4 5 6 7 8
Translation guide:

The client uses gettext for translations, for a comprehensive guide see:

In order to generate the .pot (template) file with all the translation strings,
append all the filenames that require translation to, then run the
following command:
9 10 11 12
xgettext -o ring-client-gnome.pot --keyword=_ --keyword=C_:1c,2 --keyword=N_ -D .. -f

Replace the first 3 lines of the generated header with:
# Gettext PO translation template file for the GNOME client of the Ring project.
Sébastien Blin's avatar
Sébastien Blin committed
# Copyright (C) 2015-2019 Savoir-faire Linux Inc.
# This file is distributed under the same license as the Ring package.
15 16 17 18 19 20 21 22 23

The translation files are expected to be located in the /po dir using the
following naming convention:
<language code>[_<country code>].po
for example: fr_CA.po, lt.po

The Ring project uses to facilitate the translation process. The
project page can be found here:
24 25 26

To pull translations from transifex using the tx client, execute:
tx pull -fa --minimum-perc 1