comparison README4TRANSLATORS @ 1291:0db0013c59dd frontends_multi_profiles

remove remaining references to Wix
author souliane <souliane@mailoo.org>
date Sat, 24 Jan 2015 16:12:50 +0100
parents ca7a2bf4fb40
children 5e72efd2f95d
comparison
equal deleted inserted replaced
1290:faa1129559b8 1291:0db0013c59dd
3 NOTE: *.po files are in i18n directory 3 NOTE: *.po files are in i18n directory
4 4
5 To translate a file, you can use a dedicated tool as the excellent gtranslator: 5 To translate a file, you can use a dedicated tool as the excellent gtranslator:
6 6
7 - use the template .po file (e.g. sat.po) and name it to your translated language (e.g. fr.po for french); you can preferably generate a new template directly from the source with the following command (eventually adapted, the following command use zsh's globbing syntax), launched from root sat dir after having emptied the build directory: 7 - use the template .po file (e.g. sat.po) and name it to your translated language (e.g. fr.po for french); you can preferably generate a new template directly from the source with the following command (eventually adapted, the following command use zsh's globbing syntax), launched from root sat dir after having emptied the build directory:
8 > xgettext -L python -d sat --keyword=D_ -p i18n **/*(.py|.tac|primitivus|wix)(.) **/jp(.) 8 > xgettext -L python -d sat --keyword=D_ -p i18n **/*(.py|.tac|primitivus)(.) **/jp(.)
9 9
10 - then to start a new translation, copy i18n/sat.po to your language file, e.g. cd i18n; cp sat.po fr.po 10 - then to start a new translation, copy i18n/sat.po to your language file, e.g. cd i18n; cp sat.po fr.po
11 11
12 - use the choosed tool (a simple text editor can be sufficient) to edit the file: e.g. gtranslator fr.po 12 - use the choosed tool (a simple text editor can be sufficient) to edit the file: e.g. gtranslator fr.po
13 13