1dtd2po(1) Translate Toolkit 3.8.3 dtd2po(1)
2
3
4
6 dtd2po - Convert a Mozilla .dtd UTF-8 localization format to a Gettext
7 PO localization file.
8
10 dtd2po [--version] [-h|--help] [--manpage] [--progress PROGRESS] [--er‐
11 rorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
12 [-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
13 [-P|--pot] [--duplicates DUPLICATESTYLE]
14
16 Uses the po and dtd modules, and the dtd2po convertor class which is in
17 this module You can convert back to .dtd using po2dtd.py.
18
20 --version
21 show program's version number and exit
22
23 -h/--help
24 show this help message and exit
25
26 --manpage
27 output a manpage based on the help
28
29 --progress
30 show progress as: dots, none, bar, names, verbose
31
32 --errorlevel
33 show errorlevel as: none, message, exception, traceback
34
35 -i/--input
36 read from INPUT in dtd format
37
38 -x/--exclude
39 exclude names matching EXCLUDE from input paths
40
41 -o/--output
42 write to OUTPUT in po, pot formats
43
44 -t/--template
45 read from TEMPLATE in dtd format
46
47 -S/--timestamp
48 skip conversion if the output file has newer timestamp
49
50 -P/--pot
51 output PO Templates (.pot) rather than PO files (.po)
52
53 --duplicates
54 what to do with duplicate strings (identical source text):
55 merge, msgctxt (default: 'msgctxt')
56
57
58
59 Translate Toolkit 3.8.3 dtd2po(1)