{
    "mode": "info",
    "parameter": "msgcmp",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/msgcmp/json",
    "generated": "2026-11-14T18:27:25Z",
    "sections": {
        "File: gettext.info,  Node: msgcmp Invocation,  Next: msgattrib Invocation,  Prev: msgcomm Invocation,  Up: Manipulating": {
            "content": "",
            "subsections": [
                {
                    "name": "9.7 Invoking the 'msgcmp' Program",
                    "content": "msgcmp [OPTION] DEF.po REF.pot\n\nThe 'msgcmp' program compares two Uniforum style .po files to check\nthat both contain the same set of msgid strings.  The DEF.po file is an\nexisting PO file with the translations.  The REF.pot file is the last\ncreated PO file, or a PO Template file (generally created by\n'xgettext').  This is useful for checking that you have translated each\nand every message in your program.  Where an exact match cannot be\nfound, fuzzy matching is used to produce better diagnostics.\n\n\n'DEF.po'\nTranslations.\n\n'REF.pot'\nReferences to the sources.\n\n'-D DIRECTORY'\n'--directory=DIRECTORY'\nAdd DIRECTORY to the list of directories.  Source files are\nsearched relative to this list of directories.\n\n\n'-m'\n'--multi-domain'\nApply REF.pot to each of the domains in DEF.po.\n\n'-N'\n'--no-fuzzy-matching'\nDo not use fuzzy matching when an exact match is not found.  This\nmay speed up the operation considerably.\n\n'--use-fuzzy'\nConsider fuzzy messages in the DEF.po file like translated\nmessages.  Note that using this option is usually wrong, because\nfuzzy messages are exactly those which have not been validated by a\nhuman translator.\n\n'--use-untranslated'\nConsider untranslated messages in the DEF.po file like translated\nmessages.  Note that using this option is usually wrong.\n\n\n'-P'\n'--properties-input'\nAssume the input files are Java ResourceBundles in Java\n'.properties' syntax, not in PO file syntax.\n\n'--stringtable-input'\nAssume the input files are NeXTstep/GNUstep localized resource\nfiles in '.strings' syntax, not in PO file syntax.\n\n\n'-h'\n'--help'\nDisplay this help and exit.\n\n'-V'\n'--version'\nOutput version information and exit.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}