tinycm diff README @ rev 44
Small fix to signup
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 18 17:52:45 2014 +0100 (2014-01-18) |
parents | 4521322899ee |
children | 53a267833266 |
line diff
1.1 --- a/README Mon Jan 06 21:22:04 2014 +0000 1.2 +++ b/README Sat Jan 18 17:52:45 2014 +0100 1.3 @@ -76,4 +76,27 @@ 1.4 incoming = hg update 1.5 1.6 1.7 +Translation 1.8 +----------- 1.9 +To start a new translation please use msginit from the pot file directory. 1.10 +Example for French/France locale (fr_FR): 1.11 + 1.12 + $ msginit -l fr_FR -o fr.po -i tinycm.pot 1.13 + 1.14 +To update all pot files when some new strings have been added (mainly for 1.15 +developers before commit): 1.16 + 1.17 + $ make pot 1.18 + 1.19 +To update all translations from the pot file: 1.20 + 1.21 + $ make msgmerge 1.22 + 1.23 +To compile po files for testing purposes you can use 'make msgfmt' or manually 1.24 +compile your translation. Example for french locale, note that the file must 1.25 +be copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it: 1.26 + 1.27 + $ msgfmt -o tinycm.mo fr.po 1.28 + 1.29 + 1.30 ================================================================================