Debian Codegraph @

upstream/opensuse-tumbleweed/man1/msginit.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
2 .TH MSGINIT "1" "January 2026" "GNU gettext-tools 1.0" "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.
29 If the output file already exists, it is merged with the input file,
30 as if through 'msgmerge'.
31 If it is \-, the results are written to standard output.
32 .SS "Input file syntax:"
33 .TP
34 \fB\-P\fR, \fB\-\-properties\-input\fR
35 input file is in Java .properties syntax
36 .TP
37 \fB\-\-stringtable\-input\fR
38 input file is in NeXTstep/GNUstep .strings syntax
39 .SS "Output details:"
40 .TP
41 \fB\-l\fR, \fB\-\-locale\fR=\fI\,LL_CC[\/\fR.ENCODING]
42 set target locale
43 .TP
44 \fB\-\-no\-translator\fR
45 assume the PO file is automatically generated
46 .TP
47 \fB\-\-color\fR
48 use colors and other text attributes always
49 .TP
50 \fB\-\-color\fR=\fI\,WHEN\/\fR
51 use colors and other text attributes if WHEN.
52 WHEN may be 'always', 'never', 'auto', or 'html'.
53 .TP
54 \fB\-\-style\fR=\fI\,STYLEFILE\/\fR
55 specify CSS style rule file for \fB\-\-color\fR
56 .TP
57 \fB\-p\fR, \fB\-\-properties\-output\fR
58 write out a Java .properties file
59 .TP
60 \fB\-\-stringtable\-output\fR
61 write out a NeXTstep/GNUstep .strings file
62 .TP
63 \fB\-w\fR, \fB\-\-width\fR=\fI\,NUMBER\/\fR
64 set output page width
65 .TP
66 \fB\-\-no\-wrap\fR
67 do not break long message lines, longer than
68 the output page width, into several lines
69 .SS "Informative output:"
70 .TP
71 \fB\-h\fR, \fB\-\-help\fR
72 display this help and exit
73 .TP
74 \fB\-V\fR, \fB\-\-version\fR
75 output version information and exit
76 .SH AUTHOR
77 Written by Bruno Haible.
78 .SH "REPORTING BUGS"
79 Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext>
80 or by email to <bug\[email protected]>.
81 .SH COPYRIGHT
82 Copyright \(co 2001\-2026 Free Software Foundation, Inc.
83 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
84 .br
85 This is free software: you are free to change and redistribute it.
86 There is NO WARRANTY, to the extent permitted by law.
87 .SH "SEE ALSO"
88 The full documentation for
89 .B msginit
90 is maintained as a Texinfo manual. If the
91 .B info
92 and
93 .B msginit
94 programs are properly installed at your site, the command
95 .IP
96 .B info msginit
97 .PP
98 should give you access to the complete manual.