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