dtd2po - Man Page

Convert a Mozilla .dtd UTF-8 localization format to a Gettext PO localization file.


dtd2po [--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]


Uses the po and dtd modules, and the dtd2po convertor class which is in this module You can convert back to .dtd using po2dtd.py.



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 dtd format


exclude names matching EXCLUDE from input paths


write to OUTPUT in po, pot formats


read from TEMPLATE in dtd format


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')


Translate Toolkit 3.12.2