gettext: msgcmp Invocation

1 
1 9.7 Invoking the ‘msgcmp’ Program
1 =================================
1 
1      msgcmp [OPTION] DEF.po REF.pot
1 
1    The ‘msgcmp’ program compares two Uniforum style .po files to check
1 that both contain the same set of msgid strings.  The DEF.po file is an
1 existing PO file with the translations.  The REF.pot file is the last
1 created PO file, or a PO Template file (generally created by
1 ‘xgettext’).  This is useful for checking that you have translated each
1 and every message in your program.  Where an exact match cannot be
1 found, fuzzy matching is used to produce better diagnostics.
1 
1 9.7.1 Input file location
1 -------------------------
1 
1 ‘DEF.po’
1      Translations.
1 
1 ‘REF.pot’
1      References to the sources.
1 
1 ‘-D DIRECTORY’
1 ‘--directory=DIRECTORY’
1      Add DIRECTORY to the list of directories.  Source files are
1      searched relative to this list of directories.
1 
1 9.7.2 Operation modifiers
1 -------------------------
1 
1 ‘-m’
1 ‘--multi-domain’
1      Apply REF.pot to each of the domains in DEF.po.
1 
1 ‘-N’
1 ‘--no-fuzzy-matching’
1      Do not use fuzzy matching when an exact match is not found.  This
1      may speed up the operation considerably.
1 
1 ‘--use-fuzzy’
1      Consider fuzzy messages in the DEF.po file like translated
1      messages.  Note that using this option is usually wrong, because
1      fuzzy messages are exactly those which have not been validated by a
1      human translator.
1 
1 ‘--use-untranslated’
1      Consider untranslated messages in the DEF.po file like translated
1      messages.  Note that using this option is usually wrong.
1 
1 9.7.3 Input file syntax
1 -----------------------
1 
1 ‘-P’
1 ‘--properties-input’
1      Assume the input files are Java ResourceBundles in Java
1      ‘.properties’ syntax, not in PO file syntax.
1 
1 ‘--stringtable-input’
1      Assume the input files are NeXTstep/GNUstep localized resource
1      files in ‘.strings’ syntax, not in PO file syntax.
1 
1 9.7.4 Informative output
1 ------------------------
1 
1 ‘-h’
1 ‘--help’
1      Display this help and exit.
1 
1 ‘-V’
1 ‘--version’
1      Output version information and exit.
1