Converts TikiWiki language.php files to Gettext PO format.
tiki2po [options] <tiki> <po>
po2tiki [options] <po> <tiki>
Where:
<tiki> |
is a valid language.php file for TikiWiki |
<po> |
is a PO file |
Options (tiki2po):
show program’s version number and exit
show this help message and exit
output a manpage based on the help
show progress as: dots, none, bar, names, verbose
show errorlevel as: none, message, exception, traceback
read from INPUT in php format
exclude names matching EXCLUDE from input paths
write to OUTPUT in po, pot formats
skip conversion if the output file has newer timestamp
When converting, include strings in the “unused” section?
Options (po2tiki):
show program’s version number and exit
show this help message and exit
output a manpage based on the help
show progress as: dots, none, bar, names, verbose
show errorlevel as: none, message, exception, traceback
read from INPUT in po, pot formats
exclude names matching EXCLUDE from input paths
write to OUTPUT in php format
skip conversion if the output file has newer timestamp
These examples demonstrate the use of tiki2po:
tiki2po language.php language.po
Convert the tiki language.php file to .po:
po2tiki language.po language.php
Convert a .po file to a tiki language.php file
Templates are not currently supported.