1MSGCMP(1) User Commands MSGCMP(1)
2
3
4
6 msgcmp - compare message catalog and template
7
9 msgcmp [OPTION] def.po ref.pot
10
12 Compare two Uniforum style .po files to check that both contain the
13 same set of msgid strings. The def.po file is an existing PO file with
14 the translations. The ref.pot file is the last created PO file, or a
15 PO Template file (generally created by xgettext). This is useful for
16 checking that you have translated each and every message in your pro‐
17 gram. Where an exact match cannot be found, fuzzy matching is used to
18 produce better diagnostics.
19
20 Mandatory arguments to long options are mandatory for short options
21 too.
22
23 Input file location:
24 def.po translations
25
26 ref.pot
27 references to the sources
28
29 -D, --directory=DIRECTORY
30 add DIRECTORY to list for input files search
31
32 Operation modifiers:
33 -m, --multi-domain
34 apply ref.pot to each of the domains in def.po
35
36 -N, --no-fuzzy-matching
37 do not use fuzzy matching
38
39 --use-fuzzy
40 consider fuzzy entries
41
42 --use-untranslated
43 consider untranslated entries
44
45 Input file syntax:
46 -P, --properties-input
47 input files are in Java .properties syntax
48
49 --stringtable-input
50 input files are in NeXTstep/GNUstep .strings syntax
51
52 Informative output:
53 -h, --help
54 display this help and exit
55
56 -V, --version
57 output version information and exit
58
60 Written by Peter Miller.
61
63 Report bugs in the bug tracker at <https://savan‐
64 nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
65
67 Copyright © 1995-2023 Free Software Foundation, Inc. License GPLv3+:
68 GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
69 This is free software: you are free to change and redistribute it.
70 There is NO WARRANTY, to the extent permitted by law.
71
73 The full documentation for msgcmp is maintained as a Texinfo manual.
74 If the info and msgcmp programs are properly installed at your site,
75 the command
76
77 info msgcmp
78
79 should give you access to the complete manual.
80
81
82
83GNU gettext-tools 0.22 June 2023 MSGCMP(1)