1MSGINIT(1) User Commands MSGINIT(1)
2
3
4
6 msginit - initialize a message catalog
7
9 msginit [OPTION]
10
12 Creates a new PO file, initializing the meta information with values
13 from the user's environment.
14
15 Mandatory arguments to long options are mandatory for short options
16 too.
17
18 Input file location:
19 -i, --input=INPUTFILE
20 input POT file
21
22 If no input file is given, the current directory is searched for the
23 POT file. If it is -, standard input is read.
24
25 Output file location:
26 -o, --output-file=FILE
27 write output to specified PO file
28
29 If no output file is given, it depends on the --locale option or the
30 user's locale setting. If it is -, the results are written to standard
31 output.
32
33 Input file syntax:
34 -P, --properties-input
35 input file is in Java .properties syntax
36
37 --stringtable-input
38 input file is in NeXTstep/GNUstep .strings syntax
39
40 Output details:
41 -l, --locale=LL_CC[.ENCODING]
42 set target locale
43
44 --no-translator
45 assume the PO file is automatically generated
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 'al‐
52 ways', 'never', 'auto', or 'html'.
53
54 --style=STYLEFILE
55 specify CSS style rule file for --color
56
57 -p, --properties-output
58 write out a Java .properties file
59
60 --stringtable-output
61 write out a NeXTstep/GNUstep .strings file
62
63 -w, --width=NUMBER
64 set output page width
65
66 --no-wrap
67 do not break long message lines, longer than the output page
68 width, into several lines
69
70 Informative output:
71 -h, --help
72 display this help and exit
73
74 -V, --version
75 output version information and exit
76
78 Written by Bruno Haible.
79
81 Report bugs in the bug tracker at <https://savan‐
82 nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
83
85 Copyright © 2001-2023 Free Software Foundation, Inc. License GPLv3+:
86 GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
87 This is free software: you are free to change and redistribute it.
88 There is NO WARRANTY, to the extent permitted by law.
89
91 The full documentation for msginit is maintained as a Texinfo manual.
92 If the info and msginit programs are properly installed at your site,
93 the command
94
95 info msginit
96
97 should give you access to the complete manual.
98
99
100
101GNU gettext-tools 0.22 June 2023 MSGINIT(1)