1 <!-- Creator : groff version 1.22.3 -->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta name="generator" content="groff -Thtml, see www.gnu.org">
7 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8 <meta name="Content-Style" content="text/css">
9 <style type="text/css">
10 p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11 pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12 table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13 h1 { text-align: center }
20 <h1 align="center">MSGFMT</h1>
22 <a href="#NAME">NAME</a><br>
23 <a href="#SYNOPSIS">SYNOPSIS</a><br>
24 <a href="#DESCRIPTION">DESCRIPTION</a><br>
25 <a href="#AUTHOR">AUTHOR</a><br>
26 <a href="#REPORTING BUGS">REPORTING BUGS</a><br>
27 <a href="#COPYRIGHT">COPYRIGHT</a><br>
28 <a href="#SEE ALSO">SEE ALSO</a><br>
38 <p style="margin-left:11%; margin-top: 1em">msgfmt −
39 compile message catalog to binary format</p>
42 <a name="SYNOPSIS"></a>
46 <p style="margin-left:11%; margin-top: 1em"><b>msgfmt</b>
47 [<i>OPTION</i>] <i>filename.po</i> ...</p>
50 <a name="DESCRIPTION"></a>
54 <p style="margin-left:11%; margin-top: 1em">Generate binary
55 message catalog from textual translation description.</p>
57 <p style="margin-left:11%; margin-top: 1em">Mandatory
58 arguments to long options are mandatory for short options
59 too. Similarly for optional arguments.</p>
61 <p style="margin-left:11%; margin-top: 1em"><b>Input file
65 <p style="margin-left:22%;">input files</p>
67 <p style="margin-left:11%;"><b>−D</b>,
68 <b>−−directory</b>=<i>DIRECTORY</i></p>
70 <p style="margin-left:22%;">add DIRECTORY to list for input
73 <p style="margin-left:11%; margin-top: 1em">If input file
74 is -, standard input is read.</p>
76 <p style="margin-left:11%; margin-top: 1em"><b>Operation
78 −j</b>, <b>−−java</b></p>
80 <p style="margin-left:22%;">Java mode: generate a Java
81 ResourceBundle class</p>
83 <p style="margin-left:11%;"><b>−−java2</b></p>
85 <p style="margin-left:22%;">like <b>−−java</b>,
86 and assume Java2 (JDK 1.2 or higher)</p>
89 <p style="margin-left:11%;"><b>−−csharp</b></p>
91 <p style="margin-left:22%;">C# mode: generate a .NET .dll
95 <p style="margin-left:11%;"><b>−−csharp−resources</b></p>
97 <p style="margin-left:22%;">C# resources mode: generate a
98 .NET .resources file</p>
100 <table width="100%" border="0" rules="none" frame="void"
101 cellspacing="0" cellpadding="0">
102 <tr valign="top" align="left">
103 <td width="11%"></td>
107 <p><b>−−tcl</b></p></td>
112 <p>Tcl mode: generate a tcl/msgcat .msg file</p></td>
115 <tr valign="top" align="left">
116 <td width="11%"></td>
120 <p><b>−−qt</b></p></td>
125 <p>Qt mode: generate a Qt .qm file</p></td>
131 <p style="margin-left:11%;"><b>−−desktop</b></p>
133 <p style="margin-left:22%;">Desktop Entry mode: generate a
136 <table width="100%" border="0" rules="none" frame="void"
137 cellspacing="0" cellpadding="0">
138 <tr valign="top" align="left">
139 <td width="11%"></td>
143 <p><b>−−xml</b></p></td>
148 <p>XML mode: generate XML file</p></td>
153 <p style="margin-left:11%; margin-top: 1em"><b>Output file
156 <b>−−output−file</b>=<i>FILE</i></p>
158 <p style="margin-left:22%;">write output to specified
162 <p style="margin-left:11%;"><b>−−strict</b></p>
164 <p style="margin-left:22%;">enable strict Uniforum mode</p>
166 <p style="margin-left:11%; margin-top: 1em">If output file
167 is -, output is written to standard output.</p>
169 <p style="margin-left:11%; margin-top: 1em"><b>Output file
170 location in Java mode: <br>
172 <b>−−resource</b>=<i>RESOURCE</i></p>
174 <p style="margin-left:22%;">resource name</p>
176 <p style="margin-left:11%;"><b>−l</b>,
177 <b>−−locale</b>=<i>LOCALE</i></p>
179 <p style="margin-left:22%;">locale name, either language or
183 <p style="margin-left:11%;"><b>−−source</b></p>
185 <p style="margin-left:22%;">produce a .java file, instead
188 <p style="margin-left:11%;"><b>−d</b> DIRECTORY</p>
190 <p style="margin-left:22%;">base directory of classes
191 directory hierarchy</p>
193 <p style="margin-left:11%; margin-top: 1em">The class name
194 is determined by appending the locale name to the resource
195 name, separated with an underscore. The <b>−d</b>
196 option is mandatory. The class is written under the
197 specified directory.</p>
199 <p style="margin-left:11%; margin-top: 1em"><b>Output file
200 location in C# mode: <br>
202 <b>−−resource</b>=<i>RESOURCE</i></p>
204 <p style="margin-left:22%;">resource name</p>
206 <p style="margin-left:11%;"><b>−l</b>,
207 <b>−−locale</b>=<i>LOCALE</i></p>
209 <p style="margin-left:22%;">locale name, either language or
212 <p style="margin-left:11%;"><b>−d</b> DIRECTORY</p>
214 <p style="margin-left:22%;">base directory for locale
215 dependent .dll files</p>
217 <p style="margin-left:11%; margin-top: 1em">The
218 <b>−l</b> and <b>−d</b> options are mandatory.
219 The .dll file is written in a subdirectory of the specified
220 directory whose name depends on the locale.</p>
222 <p style="margin-left:11%; margin-top: 1em"><b>Output file
223 location in Tcl mode: <br>
224 −l</b>, <b>−−locale</b>=<i>LOCALE</i></p>
226 <p style="margin-left:22%;">locale name, either language or
229 <p style="margin-left:11%;"><b>−d</b> DIRECTORY</p>
231 <p style="margin-left:22%;">base directory of .msg message
234 <p style="margin-left:11%; margin-top: 1em">The
235 <b>−l</b> and <b>−d</b> options are mandatory.
236 The .msg file is written in the specified directory.</p>
238 <p style="margin-left:11%; margin-top: 1em"><b>Desktop
239 Entry mode options: <br>
240 −l</b>, <b>−−locale</b>=<i>LOCALE</i></p>
242 <p style="margin-left:22%;">locale name, either language or
245 <p style="margin-left:11%;"><b>−o</b>,
246 <b>−−output−file</b>=<i>FILE</i></p>
248 <p style="margin-left:22%;">write output to specified
252 <p style="margin-left:11%;"><b>−−template</b>=<i>TEMPLATE</i></p>
254 <p style="margin-left:22%;">a .desktop file used as a
257 <p style="margin-left:11%;"><b>−d</b> DIRECTORY</p>
259 <p style="margin-left:22%;">base directory of .po files</p>
261 <p style="margin-left:11%;"><b>−kWORD</b>,
262 <b>−−keyword</b>=<i>WORD</i></p>
264 <p style="margin-left:22%;">look for WORD as an additional
267 <p style="margin-left:11%;"><b>−k</b>,
268 <b>−−keyword</b></p>
270 <p style="margin-left:22%;">do not to use default
273 <p style="margin-left:11%; margin-top: 1em">The
274 <b>−l</b>, <b>−o</b>, and
275 <b>−−template</b> options are mandatory. If
276 <b>−D</b> is specified, input files are read from the
277 directory instead of the command line arguments.</p>
279 <p style="margin-left:11%; margin-top: 1em"><b>XML mode
281 −l</b>, <b>−−locale</b>=<i>LOCALE</i></p>
283 <p style="margin-left:22%;">locale name, either language or
286 <p style="margin-left:11%;"><b>−L</b>,
287 <b>−−language</b>=<i>NAME</i></p>
289 <p style="margin-left:22%;">recognise the specified XML
292 <p style="margin-left:11%;"><b>−o</b>,
293 <b>−−output−file</b>=<i>FILE</i></p>
295 <p style="margin-left:22%;">write output to specified
299 <p style="margin-left:11%;"><b>−−template</b>=<i>TEMPLATE</i></p>
301 <p style="margin-left:22%;">an XML file used as a
304 <p style="margin-left:11%;"><b>−d</b> DIRECTORY</p>
306 <p style="margin-left:22%;">base directory of .po files</p>
308 <p style="margin-left:11%; margin-top: 1em">The
309 <b>−l</b>, <b>−o</b>, and
310 <b>−−template</b> options are mandatory. If
311 <b>−D</b> is specified, input files are read from the
312 directory instead of the command line arguments.</p>
314 <p style="margin-left:11%; margin-top: 1em"><b>Input file
317 <b>−−properties−input</b></p>
319 <p style="margin-left:22%;">input files are in Java
320 .properties syntax</p>
323 <p style="margin-left:11%;"><b>−−stringtable−input</b></p>
325 <p style="margin-left:22%;">input files are in
326 NeXTstep/GNUstep .strings syntax</p>
328 <p style="margin-left:11%; margin-top: 1em"><b>Input file
330 −c</b>, <b>−−check</b></p>
332 <p style="margin-left:22%;">perform all the checks implied
333 by <b>−−check−format</b>,
334 <b>−−check−header</b>,
335 <b>−−check−domain</b></p>
338 <p style="margin-left:11%;"><b>−−check−format</b></p>
340 <p style="margin-left:22%;">check language dependent format
344 <p style="margin-left:11%;"><b>−−check−header</b></p>
346 <p style="margin-left:22%;">verify presence and contents of
350 <p style="margin-left:11%;"><b>−−check−domain</b></p>
352 <p style="margin-left:22%;">check for conflicts between
353 domain directives and the
354 <b>−−output−file</b> option</p>
356 <p style="margin-left:11%;"><b>−C</b>,
357 <b>−−check−compatibility</b></p>
359 <p style="margin-left:22%;">check that GNU msgfmt behaves
360 like X/Open msgfmt</p>
363 <p style="margin-left:11%;"><b>−−check−accelerators</b>[=<i>CHAR</i>]</p>
365 <p style="margin-left:22%;">check presence of keyboard
366 accelerators for menu items</p>
368 <p style="margin-left:11%;"><b>−f</b>,
369 <b>−−use−fuzzy</b></p>
371 <p style="margin-left:22%;">use fuzzy entries in output</p>
373 <p style="margin-left:11%; margin-top: 1em"><b>Output
376 <b>−−alignment</b>=<i>NUMBER</i></p>
378 <p style="margin-left:22%;">align strings to NUMBER bytes
382 <p style="margin-left:11%;"><b>−−endianness</b>=<i>BYTEORDER</i></p>
384 <p style="margin-left:22%;">write out 32-bit numbers in the
385 given byte order (big or little, default depends on
389 <p style="margin-left:11%;"><b>−−no−hash</b></p>
391 <p style="margin-left:22%;">binary file will not include
394 <p style="margin-left:11%; margin-top: 1em"><b>Informative
396 −h</b>, <b>−−help</b></p>
398 <p style="margin-left:22%;">display this help and exit</p>
400 <p style="margin-left:11%;"><b>−V</b>,
401 <b>−−version</b></p>
403 <p style="margin-left:22%;">output version information and
407 <p style="margin-left:11%;"><b>−−statistics</b></p>
409 <p style="margin-left:22%;">print statistics about
412 <p style="margin-left:11%;"><b>−v</b>,
413 <b>−−verbose</b></p>
415 <p style="margin-left:22%;">increase verbosity level</p>
418 <a name="AUTHOR"></a>
422 <p style="margin-left:11%; margin-top: 1em">Written by
426 <a name="REPORTING BUGS"></a>
430 <p style="margin-left:11%; margin-top: 1em">Report bugs to
431 <bug-gnu-gettext@gnu.org>.</p>
434 <a name="COPYRIGHT"></a>
438 <p style="margin-left:11%; margin-top: 1em">Copyright
439 © 1995-1998, 2000-2010 Free Software Foundation, Inc.
440 License GPLv3+: GNU GPL version 3 or later
441 <http://gnu.org/licenses/gpl.html> <br>
442 This is free software: you are free to change and
443 redistribute it. There is NO WARRANTY, to the extent
444 permitted by law.</p>
447 <a name="SEE ALSO"></a>
451 <p style="margin-left:11%; margin-top: 1em">The full
452 documentation for <b>msgfmt</b> is maintained as a Texinfo
453 manual. If the <b>info</b> and <b>msgfmt</b> programs are
454 properly installed at your site, the command</p>
456 <p style="margin-left:22%; margin-top: 1em"><b>info
459 <p style="margin-left:11%; margin-top: 1em">should give you
460 access to the complete manual.</p>