| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH MSGINIT "1" "July 2025" "GNU gettext-tools 0.26" "User Commands" |
| 3 |
.SH NAME |
| 4 |
msginit \- initialize a message catalog |
| 5 |
.SH SYNOPSIS |
| 6 |
.B msginit |
| 7 |
[\fI\,OPTION\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Creates a new PO file, initializing the meta information with values from the |
| 12 |
user's environment. |
| 13 |
.PP |
| 14 |
Mandatory arguments to long options are mandatory for short options too. |
| 15 |
.SS "Input file location:" |
| 16 |
.TP |
| 17 |
\fB\-i\fR, \fB\-\-input\fR=\fI\,INPUTFILE\/\fR |
| 18 |
input POT file |
| 19 |
.PP |
| 20 |
If no input file is given, the current directory is searched for the POT file. |
| 21 |
If it is \-, standard input is read. |
| 22 |
.SS "Output file location:" |
| 23 |
.TP |
| 24 |
\fB\-o\fR, \fB\-\-output\-file\fR=\fI\,FILE\/\fR |
| 25 |
write output to specified PO file |
| 26 |
.PP |
| 27 |
If no output file is given, it depends on the \fB\-\-locale\fR option or the user's |
| 28 |
locale setting. If it is \-, the results are written to standard output. |
| 29 |
.SS "Input file syntax:" |
| 30 |
.TP |
| 31 |
\fB\-P\fR, \fB\-\-properties\-input\fR |
| 32 |
input file is in Java .properties syntax |
| 33 |
.TP |
| 34 |
\fB\-\-stringtable\-input\fR |
| 35 |
input file is in NeXTstep/GNUstep .strings syntax |
| 36 |
.SS "Output details:" |
| 37 |
.TP |
| 38 |
\fB\-l\fR, \fB\-\-locale\fR=\fI\,LL_CC[\/\fR.ENCODING] |
| 39 |
set target locale |
| 40 |
.TP |
| 41 |
\fB\-\-no\-translator\fR |
| 42 |
assume the PO file is automatically generated |
| 43 |
.TP |
| 44 |
\fB\-\-color\fR |
| 45 |
use colors and other text attributes always |
| 46 |
.TP |
| 47 |
\fB\-\-color\fR=\fI\,WHEN\/\fR |
| 48 |
use colors and other text attributes if WHEN. |
| 49 |
WHEN may be 'always', 'never', 'auto', or 'html'. |
| 50 |
.TP |
| 51 |
\fB\-\-style\fR=\fI\,STYLEFILE\/\fR |
| 52 |
specify CSS style rule file for \fB\-\-color\fR |
| 53 |
.TP |
| 54 |
\fB\-p\fR, \fB\-\-properties\-output\fR |
| 55 |
write out a Java .properties file |
| 56 |
.TP |
| 57 |
\fB\-\-stringtable\-output\fR |
| 58 |
write out a NeXTstep/GNUstep .strings file |
| 59 |
.TP |
| 60 |
\fB\-w\fR, \fB\-\-width\fR=\fI\,NUMBER\/\fR |
| 61 |
set output page width |
| 62 |
.TP |
| 63 |
\fB\-\-no\-wrap\fR |
| 64 |
do not break long message lines, longer than |
| 65 |
the output page width, into several lines |
| 66 |
.SS "Informative output:" |
| 67 |
.TP |
| 68 |
\fB\-h\fR, \fB\-\-help\fR |
| 69 |
display this help and exit |
| 70 |
.TP |
| 71 |
\fB\-V\fR, \fB\-\-version\fR |
| 72 |
output version information and exit |
| 73 |
.SH AUTHOR |
| 74 |
Written by Bruno Haible. |
| 75 |
.SH "REPORTING BUGS" |
| 76 |
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> |
| 77 |
or by email to <bug\[email protected]>. |
| 78 |
.SH COPYRIGHT |
| 79 |
Copyright \(co 2001\-2025 Free Software Foundation, Inc. |
| 80 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> |
| 81 |
.br |
| 82 |
This is free software: you are free to change and redistribute it. |
| 83 |
There is NO WARRANTY, to the extent permitted by law. |
| 84 |
.SH "SEE ALSO" |
| 85 |
The full documentation for |
| 86 |
.B msginit |
| 87 |
is maintained as a Texinfo manual. If the |
| 88 |
.B info |
| 89 |
and |
| 90 |
.B msginit |
| 91 |
programs are properly installed at your site, the command |
| 92 |
.IP |
| 93 |
.B info msginit |
| 94 |
.PP |
| 95 |
should give you access to the complete manual. |