Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/doc/gettext/msgfmt.1.html @ 68:5028fdace37b
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 16:23:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 68:5028fdace37b |
---|---|
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"> | |
4 <html> | |
5 <head> | |
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 } | |
14 </style> | |
15 <title>MSGFMT</title> | |
16 | |
17 </head> | |
18 <body> | |
19 | |
20 <h1 align="center">MSGFMT</h1> | |
21 | |
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> | |
29 | |
30 <hr> | |
31 | |
32 | |
33 <h2>NAME | |
34 <a name="NAME"></a> | |
35 </h2> | |
36 | |
37 | |
38 <p style="margin-left:11%; margin-top: 1em">msgfmt - | |
39 compile message catalog to binary format</p> | |
40 | |
41 <h2>SYNOPSIS | |
42 <a name="SYNOPSIS"></a> | |
43 </h2> | |
44 | |
45 | |
46 <p style="margin-left:11%; margin-top: 1em"><b>msgfmt</b> | |
47 [<i>OPTION</i>] <i>filename.po</i> ...</p> | |
48 | |
49 <h2>DESCRIPTION | |
50 <a name="DESCRIPTION"></a> | |
51 </h2> | |
52 | |
53 | |
54 <p style="margin-left:11%; margin-top: 1em">Generate binary | |
55 message catalog from textual translation description.</p> | |
56 | |
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> | |
60 | |
61 <p style="margin-left:11%; margin-top: 1em"><b>Input file | |
62 location:</b> <br> | |
63 filename.po ...</p> | |
64 | |
65 <p style="margin-left:22%;">input files</p> | |
66 | |
67 <p style="margin-left:11%;"><b>-D</b>, | |
68 <b>--directory</b>=<i>DIRECTORY</i></p> | |
69 | |
70 <p style="margin-left:22%;">add DIRECTORY to list for input | |
71 files search</p> | |
72 | |
73 <p style="margin-left:11%; margin-top: 1em">If input file | |
74 is -, standard input is read.</p> | |
75 | |
76 <p style="margin-left:11%; margin-top: 1em"><b>Operation | |
77 mode: <br> | |
78 -j</b>, <b>--java</b></p> | |
79 | |
80 <p style="margin-left:22%;">Java mode: generate a Java | |
81 ResourceBundle class</p> | |
82 | |
83 <p style="margin-left:11%;"><b>--java2</b></p> | |
84 | |
85 <p style="margin-left:22%;">like <b>--java</b>, | |
86 and assume Java2 (JDK 1.2 or higher)</p> | |
87 | |
88 | |
89 <p style="margin-left:11%;"><b>--csharp</b></p> | |
90 | |
91 <p style="margin-left:22%;">C# mode: generate a .NET .dll | |
92 file</p> | |
93 | |
94 | |
95 <p style="margin-left:11%;"><b>--csharp-resources</b></p> | |
96 | |
97 <p style="margin-left:22%;">C# resources mode: generate a | |
98 .NET .resources file</p> | |
99 | |
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> | |
104 <td width="7%"> | |
105 | |
106 | |
107 <p><b>--tcl</b></p></td> | |
108 <td width="4%"></td> | |
109 <td width="63%"> | |
110 | |
111 | |
112 <p>Tcl mode: generate a tcl/msgcat .msg file</p></td> | |
113 <td width="15%"> | |
114 </td></tr> | |
115 <tr valign="top" align="left"> | |
116 <td width="11%"></td> | |
117 <td width="7%"> | |
118 | |
119 | |
120 <p><b>--qt</b></p></td> | |
121 <td width="4%"></td> | |
122 <td width="63%"> | |
123 | |
124 | |
125 <p>Qt mode: generate a Qt .qm file</p></td> | |
126 <td width="15%"> | |
127 </td></tr> | |
128 </table> | |
129 | |
130 | |
131 <p style="margin-left:11%;"><b>--desktop</b></p> | |
132 | |
133 <p style="margin-left:22%;">Desktop Entry mode: generate a | |
134 .desktop file</p> | |
135 | |
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> | |
140 <td width="7%"> | |
141 | |
142 | |
143 <p><b>--xml</b></p></td> | |
144 <td width="4%"></td> | |
145 <td width="41%"> | |
146 | |
147 | |
148 <p>XML mode: generate XML file</p></td> | |
149 <td width="37%"> | |
150 </td></tr> | |
151 </table> | |
152 | |
153 <p style="margin-left:11%; margin-top: 1em"><b>Output file | |
154 location: <br> | |
155 -o</b>, | |
156 <b>--output-file</b>=<i>FILE</i></p> | |
157 | |
158 <p style="margin-left:22%;">write output to specified | |
159 file</p> | |
160 | |
161 | |
162 <p style="margin-left:11%;"><b>--strict</b></p> | |
163 | |
164 <p style="margin-left:22%;">enable strict Uniforum mode</p> | |
165 | |
166 <p style="margin-left:11%; margin-top: 1em">If output file | |
167 is -, output is written to standard output.</p> | |
168 | |
169 <p style="margin-left:11%; margin-top: 1em"><b>Output file | |
170 location in Java mode: <br> | |
171 -r</b>, | |
172 <b>--resource</b>=<i>RESOURCE</i></p> | |
173 | |
174 <p style="margin-left:22%;">resource name</p> | |
175 | |
176 <p style="margin-left:11%;"><b>-l</b>, | |
177 <b>--locale</b>=<i>LOCALE</i></p> | |
178 | |
179 <p style="margin-left:22%;">locale name, either language or | |
180 language_COUNTRY</p> | |
181 | |
182 | |
183 <p style="margin-left:11%;"><b>--source</b></p> | |
184 | |
185 <p style="margin-left:22%;">produce a .java file, instead | |
186 of a .class file</p> | |
187 | |
188 <p style="margin-left:11%;"><b>-d</b> DIRECTORY</p> | |
189 | |
190 <p style="margin-left:22%;">base directory of classes | |
191 directory hierarchy</p> | |
192 | |
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> | |
198 | |
199 <p style="margin-left:11%; margin-top: 1em"><b>Output file | |
200 location in C# mode: <br> | |
201 -r</b>, | |
202 <b>--resource</b>=<i>RESOURCE</i></p> | |
203 | |
204 <p style="margin-left:22%;">resource name</p> | |
205 | |
206 <p style="margin-left:11%;"><b>-l</b>, | |
207 <b>--locale</b>=<i>LOCALE</i></p> | |
208 | |
209 <p style="margin-left:22%;">locale name, either language or | |
210 language_COUNTRY</p> | |
211 | |
212 <p style="margin-left:11%;"><b>-d</b> DIRECTORY</p> | |
213 | |
214 <p style="margin-left:22%;">base directory for locale | |
215 dependent .dll files</p> | |
216 | |
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> | |
221 | |
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> | |
225 | |
226 <p style="margin-left:22%;">locale name, either language or | |
227 language_COUNTRY</p> | |
228 | |
229 <p style="margin-left:11%;"><b>-d</b> DIRECTORY</p> | |
230 | |
231 <p style="margin-left:22%;">base directory of .msg message | |
232 catalogs</p> | |
233 | |
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> | |
237 | |
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> | |
241 | |
242 <p style="margin-left:22%;">locale name, either language or | |
243 language_COUNTRY</p> | |
244 | |
245 <p style="margin-left:11%;"><b>-o</b>, | |
246 <b>--output-file</b>=<i>FILE</i></p> | |
247 | |
248 <p style="margin-left:22%;">write output to specified | |
249 file</p> | |
250 | |
251 | |
252 <p style="margin-left:11%;"><b>--template</b>=<i>TEMPLATE</i></p> | |
253 | |
254 <p style="margin-left:22%;">a .desktop file used as a | |
255 template</p> | |
256 | |
257 <p style="margin-left:11%;"><b>-d</b> DIRECTORY</p> | |
258 | |
259 <p style="margin-left:22%;">base directory of .po files</p> | |
260 | |
261 <p style="margin-left:11%;"><b>-kWORD</b>, | |
262 <b>--keyword</b>=<i>WORD</i></p> | |
263 | |
264 <p style="margin-left:22%;">look for WORD as an additional | |
265 keyword</p> | |
266 | |
267 <p style="margin-left:11%;"><b>-k</b>, | |
268 <b>--keyword</b></p> | |
269 | |
270 <p style="margin-left:22%;">do not to use default | |
271 keywords</p> | |
272 | |
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> | |
278 | |
279 <p style="margin-left:11%; margin-top: 1em"><b>XML mode | |
280 options: <br> | |
281 -l</b>, <b>--locale</b>=<i>LOCALE</i></p> | |
282 | |
283 <p style="margin-left:22%;">locale name, either language or | |
284 language_COUNTRY</p> | |
285 | |
286 <p style="margin-left:11%;"><b>-L</b>, | |
287 <b>--language</b>=<i>NAME</i></p> | |
288 | |
289 <p style="margin-left:22%;">recognise the specified XML | |
290 language</p> | |
291 | |
292 <p style="margin-left:11%;"><b>-o</b>, | |
293 <b>--output-file</b>=<i>FILE</i></p> | |
294 | |
295 <p style="margin-left:22%;">write output to specified | |
296 file</p> | |
297 | |
298 | |
299 <p style="margin-left:11%;"><b>--template</b>=<i>TEMPLATE</i></p> | |
300 | |
301 <p style="margin-left:22%;">an XML file used as a | |
302 template</p> | |
303 | |
304 <p style="margin-left:11%;"><b>-d</b> DIRECTORY</p> | |
305 | |
306 <p style="margin-left:22%;">base directory of .po files</p> | |
307 | |
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> | |
313 | |
314 <p style="margin-left:11%; margin-top: 1em"><b>Input file | |
315 syntax: <br> | |
316 -P</b>, | |
317 <b>--properties-input</b></p> | |
318 | |
319 <p style="margin-left:22%;">input files are in Java | |
320 .properties syntax</p> | |
321 | |
322 | |
323 <p style="margin-left:11%;"><b>--stringtable-input</b></p> | |
324 | |
325 <p style="margin-left:22%;">input files are in | |
326 NeXTstep/GNUstep .strings syntax</p> | |
327 | |
328 <p style="margin-left:11%; margin-top: 1em"><b>Input file | |
329 interpretation: <br> | |
330 -c</b>, <b>--check</b></p> | |
331 | |
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> | |
336 | |
337 | |
338 <p style="margin-left:11%;"><b>--check-format</b></p> | |
339 | |
340 <p style="margin-left:22%;">check language dependent format | |
341 strings</p> | |
342 | |
343 | |
344 <p style="margin-left:11%;"><b>--check-header</b></p> | |
345 | |
346 <p style="margin-left:22%;">verify presence and contents of | |
347 the header entry</p> | |
348 | |
349 | |
350 <p style="margin-left:11%;"><b>--check-domain</b></p> | |
351 | |
352 <p style="margin-left:22%;">check for conflicts between | |
353 domain directives and the | |
354 <b>--output-file</b> option</p> | |
355 | |
356 <p style="margin-left:11%;"><b>-C</b>, | |
357 <b>--check-compatibility</b></p> | |
358 | |
359 <p style="margin-left:22%;">check that GNU msgfmt behaves | |
360 like X/Open msgfmt</p> | |
361 | |
362 | |
363 <p style="margin-left:11%;"><b>--check-accelerators</b>[=<i>CHAR</i>]</p> | |
364 | |
365 <p style="margin-left:22%;">check presence of keyboard | |
366 accelerators for menu items</p> | |
367 | |
368 <p style="margin-left:11%;"><b>-f</b>, | |
369 <b>--use-fuzzy</b></p> | |
370 | |
371 <p style="margin-left:22%;">use fuzzy entries in output</p> | |
372 | |
373 <p style="margin-left:11%; margin-top: 1em"><b>Output | |
374 details: <br> | |
375 --no-convert</b></p> | |
376 | |
377 <p style="margin-left:22%;">don’t convert the | |
378 messages to UTF-8 encoding</p> | |
379 | |
380 | |
381 <p style="margin-left:11%;"><b>--no-redundancy</b></p> | |
382 | |
383 <p style="margin-left:22%;">don’t pre-expand | |
384 ISO C 99 <inttypes.h> format string directive | |
385 macros</p> | |
386 | |
387 <p style="margin-left:11%;"><b>-a</b>, | |
388 <b>--alignment</b>=<i>NUMBER</i></p> | |
389 | |
390 <p style="margin-left:22%;">align strings to NUMBER bytes | |
391 (default: 1)</p> | |
392 | |
393 | |
394 <p style="margin-left:11%;"><b>--endianness</b>=<i>BYTEORDER</i></p> | |
395 | |
396 <p style="margin-left:22%;">write out 32-bit numbers | |
397 in the given byte order (big or little, default depends on | |
398 platform)</p> | |
399 | |
400 | |
401 <p style="margin-left:11%;"><b>--no-hash</b></p> | |
402 | |
403 <p style="margin-left:22%;">binary file will not include | |
404 the hash table</p> | |
405 | |
406 <p style="margin-left:11%; margin-top: 1em"><b>Informative | |
407 output: <br> | |
408 -h</b>, <b>--help</b></p> | |
409 | |
410 <p style="margin-left:22%;">display this help and exit</p> | |
411 | |
412 <p style="margin-left:11%;"><b>-V</b>, | |
413 <b>--version</b></p> | |
414 | |
415 <p style="margin-left:22%;">output version information and | |
416 exit</p> | |
417 | |
418 | |
419 <p style="margin-left:11%;"><b>--statistics</b></p> | |
420 | |
421 <p style="margin-left:22%;">print statistics about | |
422 translations</p> | |
423 | |
424 <p style="margin-left:11%;"><b>-v</b>, | |
425 <b>--verbose</b></p> | |
426 | |
427 <p style="margin-left:22%;">increase verbosity level</p> | |
428 | |
429 <h2>AUTHOR | |
430 <a name="AUTHOR"></a> | |
431 </h2> | |
432 | |
433 | |
434 <p style="margin-left:11%; margin-top: 1em">Written by | |
435 Ulrich Drepper.</p> | |
436 | |
437 <h2>REPORTING BUGS | |
438 <a name="REPORTING BUGS"></a> | |
439 </h2> | |
440 | |
441 | |
442 <p style="margin-left:11%; margin-top: 1em">Report bugs in | |
443 the bug tracker at | |
444 <https://savannah.gnu.org/projects/gettext> or by | |
445 email to <bug-gettext@gnu.org>.</p> | |
446 | |
447 <h2>COPYRIGHT | |
448 <a name="COPYRIGHT"></a> | |
449 </h2> | |
450 | |
451 | |
452 <p style="margin-left:11%; margin-top: 1em">Copyright | |
453 © 1995-2023 Free Software Foundation, Inc. | |
454 License GPLv3+: GNU GPL version 3 or later | |
455 <https://gnu.org/licenses/gpl.html> <br> | |
456 This is free software: you are free to change and | |
457 redistribute it. There is NO WARRANTY, to the extent | |
458 permitted by law.</p> | |
459 | |
460 <h2>SEE ALSO | |
461 <a name="SEE ALSO"></a> | |
462 </h2> | |
463 | |
464 | |
465 <p style="margin-left:11%; margin-top: 1em">The full | |
466 documentation for <b>msgfmt</b> is maintained as a Texinfo | |
467 manual. If the <b>info</b> and <b>msgfmt</b> programs are | |
468 properly installed at your site, the command</p> | |
469 | |
470 <p style="margin-left:22%; margin-top: 1em"><b>info | |
471 msgfmt</b></p> | |
472 | |
473 <p style="margin-left:11%; margin-top: 1em">should give you | |
474 access to the complete manual.</p> | |
475 <hr> | |
476 </body> | |
477 </html> |