1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
2 .TH MSGFMT "1" "April 2005" "GNU gettext-tools 0.14.4" GNU
4 msgfmt \- compile message catalog to binary format
7 [\fIOPTION\fR] \fIfilename.po \fR...
9 .\" Add any additional description here
11 Generate binary message catalog from textual translation description.
13 Mandatory arguments to long options are mandatory for short options too.
14 Similarly for optional arguments.
15 .SS "Input file location:"
20 \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
21 add DIRECTORY to list for input files search
23 If input file is -, standard input is read.
26 \fB\-j\fR, \fB\-\-java\fR
27 Java mode: generate a Java ResourceBundle class
30 like \fB\-\-java\fR, and assume Java2 (JDK 1.2 or higher)
33 C# mode: generate a .NET .dll file
35 \fB\-\-csharp\-resources\fR
36 C# resources mode: generate a .NET .resources file
39 Tcl mode: generate a tcl/msgcat .msg file
42 Qt mode: generate a Qt .qm file
43 .SS "Output file location:"
45 \fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
46 write output to specified file
49 enable strict Uniforum mode
51 If output file is -, output is written to standard output.
52 .SS "Output file location in Java mode:"
54 \fB\-r\fR, \fB\-\-resource\fR=\fIRESOURCE\fR
57 \fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
58 locale name, either language or language_COUNTRY
61 base directory of classes directory hierarchy
63 The class name is determined by appending the locale name to the resource name,
64 separated with an underscore. The \fB\-d\fR option is mandatory. The class is
65 written under the specified directory.
66 .SS "Output file location in C# mode:"
68 \fB\-r\fR, \fB\-\-resource\fR=\fIRESOURCE\fR
71 \fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
72 locale name, either language or language_COUNTRY
75 base directory for locale dependent .dll files
77 The \fB\-l\fR and \fB\-d\fR options are mandatory. The .dll file is written in a
78 subdirectory of the specified directory whose name depends on the locale.
79 .SS "Output file location in Tcl mode:"
81 \fB\-l\fR, \fB\-\-locale\fR=\fILOCALE\fR
82 locale name, either language or language_COUNTRY
85 base directory of .msg message catalogs
87 The \fB\-l\fR and \fB\-d\fR options are mandatory. The .msg file is written in the
89 .SS "Input file syntax:"
91 \fB\-P\fR, \fB\-\-properties\-input\fR
92 input files are in Java .properties syntax
94 \fB\-\-stringtable\-input\fR
95 input files are in NeXTstep/GNUstep .strings
97 .SS "Input file interpretation:"
99 \fB\-c\fR, \fB\-\-check\fR
100 perform all the checks implied by
101 \fB\-\-check\-format\fR, \fB\-\-check\-header\fR, \fB\-\-check\-domain\fR
103 \fB\-\-check\-format\fR
104 check language dependent format strings
106 \fB\-\-check\-header\fR
107 verify presence and contents of the header entry
109 \fB\-\-check\-domain\fR
110 check for conflicts between domain directives
111 and the \fB\-\-output\-file\fR option
113 \fB\-C\fR, \fB\-\-check\-compatibility\fR
114 check that GNU msgfmt behaves like X/Open msgfmt
116 \fB\-\-check\-accelerators\fR[=\fICHAR\fR]
117 check presence of keyboard accelerators for
120 \fB\-f\fR, \fB\-\-use\-fuzzy\fR
121 use fuzzy entries in output
122 .SS "Output details:"
124 \fB\-a\fR, \fB\-\-alignment\fR=\fINUMBER\fR
125 align strings to NUMBER bytes (default: 1)
128 binary file will not include the hash table
129 .SS "Informative output:"
131 \fB\-h\fR, \fB\-\-help\fR
132 display this help and exit
134 \fB\-V\fR, \fB\-\-version\fR
135 output version information and exit
138 print statistics about translations
140 \fB\-v\fR, \fB\-\-verbose\fR
141 increase verbosity level
143 Written by Ulrich Drepper.
145 Report bugs to <bug-gnu-gettext@gnu.org>.
147 Copyright \(co 1995-1998, 2000-2005 Free Software Foundation, Inc.
149 This is free software; see the source for copying conditions. There is NO
150 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
152 The full documentation for
154 is maintained as a Texinfo manual. If the
158 programs are properly installed at your site, the command
162 should give you access to the complete manual.