Stepan Salenikovich | e88f669 | 2015-09-10 18:09:38 -0400 | [diff] [blame] | 1 | Translation guide: |
| 2 | |
| 3 | The client uses gettext for translations, for a comprehensive guide see: |
| 4 | http://www.gnu.org/software/gettext/manual/gettext.htm |
| 5 | |
| 6 | In order to generate the .pot (template) file with all the translation strings, |
| 7 | append all the filenames that require translation to POTFILES.in, then run the |
| 8 | following command: |
| 9 | xgettext -d ring-client-gnome -o ring-client-gnome.pot -k_ -D .. -f POTFILES.in |
| 10 | |
| 11 | The translation files are expected to be located in the /po dir using the |
| 12 | following naming convention: |
| 13 | <language code>[_<country code>].po |
| 14 | for example: fr_CA.po, lt.po |
| 15 | |
| 16 | The Ring project uses Transifex.com to facilitate the translation process. The |
| 17 | project page can be found here: |
| 18 | https://www.transifex.com/savoirfairelinux/ring |