1MSGEN(1)                         User Commands                        MSGEN(1)
2
3
4

NAME

6       msgen - create English message catalog
7

SYNOPSIS

9       msgen [OPTION] INPUTFILE
10

DESCRIPTION

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

AUTHOR

105       Written by Bruno Haible.
106

REPORTING BUGS

108       Report    bugs    in    the    bug    tracker    at     <https://savan
109       nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
110
112       Copyright  ©  2001-2020 Free Software Foundation, Inc.  License GPLv3+:
113       GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
114       This is free software: you are free  to  change  and  redistribute  it.
115       There is NO WARRANTY, to the extent permitted by law.
116

SEE ALSO

118       The full documentation for msgen is maintained as a Texinfo manual.  If
119       the info and msgen programs are properly installed at  your  site,  the
120       command
121
122              info msgen
123
124       should give you access to the complete manual.
125
126
127
128GNU gettext-tools 20200704         July 2020                          MSGEN(1)
Impressum