382
396
<DT><SAMP>‘--help’</SAMP>
384
<A NAME="IDX1002"></A>
385
<A NAME="IDX1003"></A>
386
Display this help and exit.
388
<DT><SAMP>‘-V’</SAMP>
390
<DT><SAMP>‘--version’</SAMP>
392
<A NAME="IDX1004"></A>
393
<A NAME="IDX1005"></A>
394
Output version information and exit.
396
<DT><SAMP>‘--statistics’</SAMP>
398
<A NAME="IDX1006"></A>
399
Print statistics about translations. When the option <CODE>--verbose</CODE> is used
400
in combination with <CODE>--statistics</CODE>, the input file name is printed in
401
front of the statistics line.
403
<DT><SAMP>‘-v’</SAMP>
405
<DT><SAMP>‘--verbose’</SAMP>
407
<A NAME="IDX1007"></A>
408
<A NAME="IDX1008"></A>
409
Increase verbosity level.
415
<H2><A NAME="SEC168" HREF="gettext_toc.html#TOC168">10.2 Invoking the <CODE>msgunfmt</CODE> Program</A></H2>
418
<A NAME="IDX1009"></A>
419
398
<A NAME="IDX1010"></A>
422
msgunfmt [<VAR>option</VAR>] [<VAR>file</VAR>]...
426
399
<A NAME="IDX1011"></A>
427
The <CODE>msgunfmt</CODE> program converts a binary message catalog to a
428
Uniforum style .po file.
433
<H3><A NAME="SEC169" HREF="gettext_toc.html#TOC169">10.2.1 Operation mode</A></H3>
437
<DT><SAMP>‘-j’</SAMP>
400
Display this help and exit.
402
<DT><SAMP>‘-V’</SAMP>
439
<DT><SAMP>‘--java’</SAMP>
404
<DT><SAMP>‘--version’</SAMP>
441
406
<A NAME="IDX1012"></A>
442
407
<A NAME="IDX1013"></A>
408
Output version information and exit.
410
<DT><SAMP>‘--statistics’</SAMP>
443
412
<A NAME="IDX1014"></A>
444
Java mode: input is a Java <CODE>ResourceBundle</CODE> class.
413
Print statistics about translations. When the option <CODE>--verbose</CODE> is used
414
in combination with <CODE>--statistics</CODE>, the input file name is printed in
415
front of the statistics line.
446
<DT><SAMP>‘--csharp’</SAMP>
417
<DT><SAMP>‘-v’</SAMP>
419
<DT><SAMP>‘--verbose’</SAMP>
448
421
<A NAME="IDX1015"></A>
449
422
<A NAME="IDX1016"></A>
450
C# mode: input is a .NET .dll file containing a subclass of
451
<CODE>GettextResourceSet</CODE>.
453
<DT><SAMP>‘--csharp-resources’</SAMP>
423
Increase verbosity level.
429
<H2><A NAME="SEC168" HREF="gettext_toc.html#TOC168">10.2 Invoking the <CODE>msgunfmt</CODE> Program</A></H2>
455
432
<A NAME="IDX1017"></A>
456
433
<A NAME="IDX1018"></A>
457
C# resources mode: input is a .NET <TT>‘.resources’</TT> file.
459
<DT><SAMP>‘--tcl’</SAMP>
436
msgunfmt [<VAR>option</VAR>] [<VAR>file</VAR>]...
461
440
<A NAME="IDX1019"></A>
441
The <CODE>msgunfmt</CODE> program converts a binary message catalog to a
442
Uniforum style .po file.
447
<H3><A NAME="SEC169" HREF="gettext_toc.html#TOC169">10.2.1 Operation mode</A></H3>
451
<DT><SAMP>‘-j’</SAMP>
453
<DT><SAMP>‘--java’</SAMP>
462
455
<A NAME="IDX1020"></A>
463
Tcl mode: input is a tcl/msgcat <TT>‘.msg’</TT> file.
469
<H3><A NAME="SEC170" HREF="gettext_toc.html#TOC170">10.2.2 Input file location</A></H3>
473
<DT><SAMP>‘<VAR>file</VAR> ...’</SAMP>
480
If no input <VAR>file</VAR> is given or if it is <SAMP>‘-’</SAMP>, standard input is read.
485
<H3><A NAME="SEC171" HREF="gettext_toc.html#TOC171">10.2.3 Input file location in Java mode</A></H3>
489
<DT><SAMP>‘-r <VAR>resource</VAR>’</SAMP>
491
<DT><SAMP>‘--resource=<VAR>resource</VAR>’</SAMP>
493
456
<A NAME="IDX1021"></A>
494
457
<A NAME="IDX1022"></A>
495
Specify the resource name.
458
Java mode: input is a Java <CODE>ResourceBundle</CODE> class.
497
<DT><SAMP>‘-l <VAR>locale</VAR>’</SAMP>
499
<DT><SAMP>‘--locale=<VAR>locale</VAR>’</SAMP>
460
<DT><SAMP>‘--csharp’</SAMP>
501
462
<A NAME="IDX1023"></A>
502
463
<A NAME="IDX1024"></A>
503
Specify the locale name, either a language specification of the form <VAR>ll</VAR>
504
or a combined language and country specification of the form <VAR>ll_CC</VAR>.
509
The class name is determined by appending the locale name to the resource name,
510
separated with an underscore. The class is located using the <CODE>CLASSPATH</CODE>.
515
<H3><A NAME="SEC172" HREF="gettext_toc.html#TOC172">10.2.4 Input file location in C# mode</A></H3>
519
<DT><SAMP>‘-r <VAR>resource</VAR>’</SAMP>
521
<DT><SAMP>‘--resource=<VAR>resource</VAR>’</SAMP>
464
C# mode: input is a .NET .dll file containing a subclass of
465
<CODE>GettextResourceSet</CODE>.
467
<DT><SAMP>‘--csharp-resources’</SAMP>
523
469
<A NAME="IDX1025"></A>
524
470
<A NAME="IDX1026"></A>
525
Specify the resource name.
471
C# resources mode: input is a .NET <TT>‘.resources’</TT> file.
527
<DT><SAMP>‘-l <VAR>locale</VAR>’</SAMP>
529
<DT><SAMP>‘--locale=<VAR>locale</VAR>’</SAMP>
473
<DT><SAMP>‘--tcl’</SAMP>
531
475
<A NAME="IDX1027"></A>
532
476
<A NAME="IDX1028"></A>
533
Specify the locale name, either a language specification of the form <VAR>ll</VAR>
534
or a combined language and country specification of the form <VAR>ll_CC</VAR>.
536
<DT><SAMP>‘-d <VAR>directory</VAR>’</SAMP>
477
Tcl mode: input is a tcl/msgcat <TT>‘.msg’</TT> file.
483
<H3><A NAME="SEC170" HREF="gettext_toc.html#TOC170">10.2.2 Input file location</A></H3>
487
<DT><SAMP>‘<VAR>file</VAR> ...’</SAMP>
494
If no input <VAR>file</VAR> is given or if it is <SAMP>‘-’</SAMP>, standard input is read.
499
<H3><A NAME="SEC171" HREF="gettext_toc.html#TOC171">10.2.3 Input file location in Java mode</A></H3>
503
<DT><SAMP>‘-r <VAR>resource</VAR>’</SAMP>
505
<DT><SAMP>‘--resource=<VAR>resource</VAR>’</SAMP>
538
507
<A NAME="IDX1029"></A>
539
Specify the base directory for locale dependent <TT>‘.dll’</TT> files.
544
The <SAMP>‘-l’</SAMP> and <SAMP>‘-d’</SAMP> options are mandatory. The <TT>‘.msg’</TT> file is
545
located in a subdirectory of the specified directory whose name depends on the
551
<H3><A NAME="SEC173" HREF="gettext_toc.html#TOC173">10.2.5 Input file location in Tcl mode</A></H3>
555
<DT><SAMP>‘-l <VAR>locale</VAR>’</SAMP>
557
<DT><SAMP>‘--locale=<VAR>locale</VAR>’</SAMP>
559
508
<A NAME="IDX1030"></A>
509
Specify the resource name.
511
<DT><SAMP>‘-l <VAR>locale</VAR>’</SAMP>
513
<DT><SAMP>‘--locale=<VAR>locale</VAR>’</SAMP>
560
515
<A NAME="IDX1031"></A>
561
Specify the locale name, either a language specification of the form <VAR>ll</VAR>
562
or a combined language and country specification of the form <VAR>ll_CC</VAR>.
564
<DT><SAMP>‘-d <VAR>directory</VAR>’</SAMP>
566
516
<A NAME="IDX1032"></A>
517
Specify the locale name, either a language specification of the form <VAR>ll</VAR>
518
or a combined language and country specification of the form <VAR>ll_CC</VAR>.
523
The class name is determined by appending the locale name to the resource name,
524
separated with an underscore. The class is located using the <CODE>CLASSPATH</CODE>.
529
<H3><A NAME="SEC172" HREF="gettext_toc.html#TOC172">10.2.4 Input file location in C# mode</A></H3>
533
<DT><SAMP>‘-r <VAR>resource</VAR>’</SAMP>
535
<DT><SAMP>‘--resource=<VAR>resource</VAR>’</SAMP>
537
<A NAME="IDX1033"></A>
538
<A NAME="IDX1034"></A>
539
Specify the resource name.
541
<DT><SAMP>‘-l <VAR>locale</VAR>’</SAMP>
543
<DT><SAMP>‘--locale=<VAR>locale</VAR>’</SAMP>
545
<A NAME="IDX1035"></A>
546
<A NAME="IDX1036"></A>
547
Specify the locale name, either a language specification of the form <VAR>ll</VAR>
548
or a combined language and country specification of the form <VAR>ll_CC</VAR>.
550
<DT><SAMP>‘-d <VAR>directory</VAR>’</SAMP>
552
<A NAME="IDX1037"></A>
553
Specify the base directory for locale dependent <TT>‘.dll’</TT> files.
558
The <SAMP>‘-l’</SAMP> and <SAMP>‘-d’</SAMP> options are mandatory. The <TT>‘.msg’</TT> file is
559
located in a subdirectory of the specified directory whose name depends on the
565
<H3><A NAME="SEC173" HREF="gettext_toc.html#TOC173">10.2.5 Input file location in Tcl mode</A></H3>
569
<DT><SAMP>‘-l <VAR>locale</VAR>’</SAMP>
571
<DT><SAMP>‘--locale=<VAR>locale</VAR>’</SAMP>
573
<A NAME="IDX1038"></A>
574
<A NAME="IDX1039"></A>
575
Specify the locale name, either a language specification of the form <VAR>ll</VAR>
576
or a combined language and country specification of the form <VAR>ll_CC</VAR>.
578
<DT><SAMP>‘-d <VAR>directory</VAR>’</SAMP>
580
<A NAME="IDX1040"></A>
567
581
Specify the base directory of <TT>‘.msg’</TT> message catalogs.