Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Localization support board «   Création de fichier *.po avec outils xgettext (fichiers sources yacs) et tutoriaux d'utilisation «  

Comment: Création de fichier *.po avec outils xgettext (fichiers sources yacs) et tutoriaux d'utilisation

<< Previous Next >>
Bernard :

Bonsoir ;

Je fais suite à notre discussion en te demandant si tu peux arranger ceci (je suis une vrai courge en anglais) :

$0 Ver $VERSION

This script generates all language files for YACS.
See http://www.yetanothercommunitysystem.com
for more information about YACS Project.

Usage: $0 [option] [option] [option]
example : $0 --buildall --locale=fr

-?, -h, --help display this helpscreen and exit

-b=#, --buildall build all language files (*.pot, *.po, *.mo)
Note : For *.po file, update if 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 be generate
*.pot files for all modules

-g=#, --genpo=# Generates all *.po files for one or more specified modules
ex: --genpo=actions (for one module) or
--genpo=actions-categories ( for more modules )
Note: The files *.pot must have been previously created.

-u=#, --updatepo=# Update all *.po files for one or more specified modules
ex : --updatepo=actions for one module or
--updatepo=actions-categories for more modules

-c=#, --compile Compile *.mo file for one or more specified modules
ex: --compile=root ( for one module ) or
--compile=root-actions ( for more modules )
Note: The files *.po must have been previously created.

-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). ! ! !


D'avance merci.

Nuxwin Team

This comment has inspired:

by Nuxwin on Nov. 1 2007