moz2po - Convert Mozilla .dtd and .properties files to Gettext PO localization files.


moz2po [--version] [-h|--help] [--manpage] [--progress PROGRESS] [--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE] [-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp] [-P|--pot] [--duplicates DUPLICATESTYLE]


See: for examples and usage instructions.


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 lang, it, ini, manifest, rdf, *, inc, js, dtd, properties formats
exclude names matching EXCLUDE from input paths
write to OUTPUT in lang.po, lang.pot, it.po, it.pot, ini.po, ini.pot, rdf, manifest, *, inc.po, inc.pot, js, dtd.po, dtd.pot, properties.po, properties.pot formats
read from TEMPLATE in lang, it, rdf, *, js, dtd, properties, manifest, ini, inc formats
skip conversion if the output file has newer timestamp
output PO Templates (.pot) rather than PO files (.po)
what to do with duplicate strings (identical source text): merge, msgctxt (default: 'msgctxt')