| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH MSGCMP "1" "July 2025" "GNU gettext-tools 0.26" "User Commands" |
| 3 |
.SH NAME |
| 4 |
msgcmp \- compare message catalog and template |
| 5 |
.SH SYNOPSIS |
| 6 |
.B msgcmp |
| 7 |
[\fI\,OPTION\/\fR] \fI\,def.po ref.pot\/\fR |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Compare two Uniforum style .po files to check that both contain the same |
| 12 |
set of msgid strings. The def.po file is an existing PO file with the |
| 13 |
translations. The ref.pot file is the last created PO file, or a PO Template |
| 14 |
file (generally created by xgettext). This is useful for checking that |
| 15 |
you have translated each and every message in your program. Where an exact |
| 16 |
match cannot be found, fuzzy matching is used to produce better diagnostics. |
| 17 |
.PP |
| 18 |
Mandatory arguments to long options are mandatory for short options too. |
| 19 |
.SS "Input file location:" |
| 20 |
.TP |
| 21 |
def.po |
| 22 |
translations |
| 23 |
.TP |
| 24 |
ref.pot |
| 25 |
references to the sources |
| 26 |
.TP |
| 27 |
\fB\-D\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\fR |
| 28 |
add DIRECTORY to list for input files search |
| 29 |
.SS "Operation modifiers:" |
| 30 |
.TP |
| 31 |
\fB\-m\fR, \fB\-\-multi\-domain\fR |
| 32 |
apply ref.pot to each of the domains in def.po |
| 33 |
.TP |
| 34 |
\fB\-N\fR, \fB\-\-no\-fuzzy\-matching\fR |
| 35 |
do not use fuzzy matching |
| 36 |
.TP |
| 37 |
\fB\-\-use\-fuzzy\fR |
| 38 |
consider fuzzy entries |
| 39 |
.TP |
| 40 |
\fB\-\-use\-untranslated\fR |
| 41 |
consider untranslated entries |
| 42 |
.SS "Input file syntax:" |
| 43 |
.TP |
| 44 |
\fB\-P\fR, \fB\-\-properties\-input\fR |
| 45 |
input files are in Java .properties syntax |
| 46 |
.TP |
| 47 |
\fB\-\-stringtable\-input\fR |
| 48 |
input files are in NeXTstep/GNUstep .strings |
| 49 |
syntax |
| 50 |
.SS "Informative output:" |
| 51 |
.TP |
| 52 |
\fB\-h\fR, \fB\-\-help\fR |
| 53 |
display this help and exit |
| 54 |
.TP |
| 55 |
\fB\-V\fR, \fB\-\-version\fR |
| 56 |
output version information and exit |
| 57 |
.SH AUTHOR |
| 58 |
Written by Peter Miller. |
| 59 |
.SH "REPORTING BUGS" |
| 60 |
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> |
| 61 |
or by email to <bug\[email protected]>. |
| 62 |
.SH COPYRIGHT |
| 63 |
Copyright \(co 1995\-2025 Free Software Foundation, Inc. |
| 64 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> |
| 65 |
.br |
| 66 |
This is free software: you are free to change and redistribute it. |
| 67 |
There is NO WARRANTY, to the extent permitted by law. |
| 68 |
.SH "SEE ALSO" |
| 69 |
The full documentation for |
| 70 |
.B msgcmp |
| 71 |
is maintained as a Texinfo manual. If the |
| 72 |
.B info |
| 73 |
and |
| 74 |
.B msgcmp |
| 75 |
programs are properly installed at your site, the command |
| 76 |
.IP |
| 77 |
.B info msgcmp |
| 78 |
.PP |
| 79 |
should give you access to the complete manual. |