1txt2po(1) Translate Toolkit 1.9.0 txt2po(1)
2
3
4
6 txt2po - convert plain text (.txt) files to Gettext PO localization
7 files
8
10 txt2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
11 [--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
12 [-o|--output] OUTPUT [-P|--pot] [--encoding] [--flavour FLAVOUR]
13 [--duplicates DUPLICATESTYLE]
14
16 See: http://translate.sourceforge.net/wiki/toolkit/txt2po for examples
17 and usage instructions
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 *, txt formats
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 -P/--pot
45 output PO Templates (.pot) rather than PO files (.po)
46
47 --encoding
48 The encoding of the input file (default: UTF-8)
49
50 --flavour
51 The flavour of text file: plain (default), dokuwiki, mediawiki
52
53 --duplicates
54 what to do with duplicate strings (identical source text):
55 merge, msgctxt (default: 'msgctxt')
56
57
58
59 Translate Toolkit 1.9.0 txt2po(1)