blob: 55387ed3b83918cfca11fe73e13fad56e81beb67 [file] [log] [blame]
Stepan Salenikoviche88f6692015-09-10 18:09:38 -04001Translation guide:
2
3The client uses gettext for translations, for a comprehensive guide see:
4http://www.gnu.org/software/gettext/manual/gettext.htm
5
6In order to generate the .pot (template) file with all the translation strings,
7append all the filenames that require translation to POTFILES.in, then run the
8following command:
Stepan Salenikovicha1b8cb32015-09-11 14:58:35 -04009xgettext -o ring-client-gnome.pot --keyword=_ --keyword=C_:1c,2 --keyword=N_ -D .. -f POTFILES.in
10
11Replace the first 3 lines of the generated header with:
12# Gettext PO translation template file for the GNOME client of the Ring project.
13# Copyright (C) 2015 Savoir-faire Linux Inc.
14# This file is distributed under the same license as the Ring package.
Stepan Salenikoviche88f6692015-09-10 18:09:38 -040015
16The translation files are expected to be located in the /po dir using the
17following naming convention:
18<language code>[_<country code>].po
19for example: fr_CA.po, lt.po
20
21The Ring project uses Transifex.com to facilitate the translation process. The
22project page can be found here:
23https://www.transifex.com/savoirfairelinux/ring