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