msgcmp - phpMan

Command: man perldoc info search(apropos)  


File: gettext.info,  Node: msgcmp Invocation,  Next: msgattrib Invocation,  Prev: msgcomm Invocation,  Up: Manipulating

9.7 Invoking the `msgcmp' Program
=================================

     msgcmp [OPTION] DEF.po REF.pot

   The `msgcmp' program compares two Uniforum style .po files to check
that both contain the same set of msgid strings.  The DEF.po file is an
existing PO file with the translations.  The REF.pot file is the last
created PO file, or a PO Template file (generally created by
`xgettext').  This is useful for checking that you have translated each
and every message in your program.  Where an exact match cannot be
found, fuzzy matching is used to produce better diagnostics.

9.7.1 Input file location
-------------------------

`DEF.po'
     Translations.

`REF.pot'
     References to the sources.

`-D DIRECTORY'
`--directory=DIRECTORY'
     Add DIRECTORY to the list of directories.  Source files are
     searched relative to this list of directories.


9.7.2 Operation modifiers
-------------------------

`-m'
`--multi-domain'
     Apply REF.pot to each of the domains in DEF.po.

`--use-fuzzy'
     Consider fuzzy messages in the DEF.po file like translated
     messages.  Note that using this option is usually wrong, because
     fuzzy messages are exactly those which have not been validated by
     a human translator.

`--use-untranslated'
     Consider untranslated messages in the DEF.po file like translated
     messages.  Note that using this option is usually wrong.


9.7.3 Input file syntax
-----------------------

`-P'
`--properties-input'
     Assume the input files are Java ResourceBundles in Java
     `.properties' syntax, not in PO file syntax.

`--stringtable-input'
     Assume the input files are NeXTstep/GNUstep localized resource
     files in `.strings' syntax, not in PO file syntax.


9.7.4 Informative output
------------------------

`-h'
`--help'
     Display this help and exit.

`-V'
`--version'
     Output version information and exit.



Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2017-09-25 08:07 @127.0.0.1 CrawledBy CCBot/2.0 (http://commoncrawl.org/faq/)
Valid XHTML 1.0!Valid CSS!