1MSGEN(1) GNU MSGEN(1)
2
3
4
6 msgen - create English message catalog
7
9 msgen [OPTION] INPUTFILE
10
12 Creates an English translation catalog. The input file is the last
13 created English PO file, or a PO Template file (generally created by
14 xgettext). Untranslated entries are assigned a translation that is
15 identical to the msgid.
16
17 Mandatory arguments to long options are mandatory for short options
18 too.
19
20 Input file location:
21 INPUTFILE
22 input PO or POT file
23
24 -D, --directory=DIRECTORY
25 add DIRECTORY to list for input files search
26
27 If input file is -, standard input is read.
28
29 Output file location:
30 -o, --output-file=FILE
31 write output to specified file
32
33 The results are written to standard output if no output file is speci‐
34 fied or if it is -.
35
36 Input file syntax:
37 -P, --properties-input
38 input file is in Java .properties syntax
39
40 --stringtable-input
41 input file is in NeXTstep/GNUstep .strings syntax
42
43 Output details:
44 --lang=CATALOGNAME
45 set 'Language' field in the header entry
46
47 --color
48 use colors and other text attributes always
49
50 --color=WHEN
51 use colors and other text attributes if WHEN. WHEN may be
52 'always', 'never', 'auto', or 'html'.
53
54 --style=STYLEFILE
55 specify CSS style rule file for --color
56
57 -e, --no-escape
58 do not use C escapes in output (default)
59
60 -E, --escape
61 use C escapes in output, no extended chars
62
63 --force-po
64 write PO file even if empty
65
66 -i, --indent
67 indented output style
68
69 --no-location
70 suppress '#: filename:line' lines
71
72 -n, --add-location
73 preserve '#: filename:line' lines (default)
74
75 --strict
76 strict Uniforum output style
77
78 -p, --properties-output
79 write out a Java .properties file
80
81 --stringtable-output
82 write out a NeXTstep/GNUstep .strings file
83
84 -w, --width=NUMBER
85 set output page width
86
87 --no-wrap
88 do not break long message lines, longer than the output page
89 width, into several lines
90
91 -s, --sort-output
92 generate sorted output
93
94 -F, --sort-by-file
95 sort output by file location
96
97 Informative output:
98 -h, --help
99 display this help and exit
100
101 -V, --version
102 output version information and exit
103
105 Written by Bruno Haible.
106
108 Report bugs to <bug-gnu-gettext@gnu.org>.
109
111 Copyright © 2001-2016 Free Software Foundation, Inc. License GPLv3+:
112 GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
113 This is free software: you are free to change and redistribute it.
114 There is NO WARRANTY, to the extent permitted by law.
115
117 The full documentation for msgen is maintained as a Texinfo manual. If
118 the info and msgen programs are properly installed at your site, the
119 command
120
121 info msgen
122
123 should give you access to the complete manual.
124
125
126
127GNU gettext-tools 0.19.8.1 June 2016 MSGEN(1)