Comment: Création de fichier *.po avec outils xgettext (fichiers sources yacs) et tutoriaux d'utilisation
| << Previous | Next >> |
Comment inspired from nuxwin
Pour information, courge se dit squash en anglais
A faire tester et vérifier par NickR, à l'occasion, et un grand merci pour ce boulot. Tu vas faire des heureux chez les Linuxiens...
$0 Ver $VERSION
This script generates all language files for YACS.
See http://www.yetanothercommunitysystem.com
for more information about the YACS Project.
Usage: $0 [option] [option] [option]
example: $0 --buildall --locale=fr
-?, -h, --help display this help screen and exit
-b=#, --buildall build all language files (*.pot, *.po, *.mo)
Note: also update *.po files if they exist
-G=#, --Genpot=# Generates all *.pot files for one or more
specified modules
ex: --Genpot=actions for one module or
--Genpot=actions-categories for any modules
Note: with ( all ) argv, this option will generate
*.pot files for all modules
-g=#, --genpo=# Generates all *.po files for specified modules
ex: --genpo=actions (for one module) or
--genpo=actions-categories ( for more modules )
Note: The *.pot files must exist.
-u=#, --updatepo=# Update all *.po files for specified modules
ex : --updatepo=actions for one module or
--updatepo=actions-categories for more modules
-c=#, --compile Compile *.mo file for specified modules
ex: --compile=root ( for one module ) or
--compile=root-actions ( for more modules )
Note: The *.po files must exist.
-l=#, --locale=# build language files for specified locale(s)
ex : --locale=fr ( for one locale ) or
--locale=fr-es for more locales
-d, --debug enable debug mode
General Note : If the --locale option is not set, the default
language selected is English (en).
! ! ! Do not execute this script with mixed options :
(buildall, Genpot, genpo, updatepo, compile). ! ! !
A faire tester et vérifier par NickR, à l'occasion, et un grand merci pour ce boulot. Tu vas faire des heureux chez les Linuxiens...
by Bernard on Nov. 1 2007