summaryrefslogtreecommitdiffstats
path: root/man/msgmerge.1
blob: afa647144c9112fe235538b3237c4f4b6ab33101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.24.
.TH MSGMERGE "1" "June 2001" "GNU gettext 0.11" GNU
.SH NAME
msgmerge \- merge message catalog and template
.SH SYNOPSIS
.B msgmerge
[\fIOPTION\fR] \fIdef.po ref.pot\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
Merges two Uniforum style .po files together.  The def.po file is an
existing PO file with translations which will be taken over to the newly
created file as long as they still match; comments will be preserved,
but extracted comments and file positions will be discarded.  The ref.pot
file is the last created PO file with up-to-date source references but
old translations, or a PO Template file (generally created by xgettext);
any translations or comments in the file will be discarded, however dot
comments and file positions will be preserved.  Where an exact match
cannot be found, fuzzy matching is used to produce better results.
.PP
Mandatory arguments to long options are mandatory for short options too.
.SS "Input file location:"
.TP
def.po
translations referring to old sources
.TP
ref.pot
references to new sources
.TP
\fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR
add DIRECTORY to list for input files search
.TP
\fB\-C\fR, \fB\-\-compendium\fR=\fIFILE\fR
additional library of message translations,
may be specified more than once
.SS "Output file location:"
.TP
\fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR
write output to specified file
.PP
The results are written to standard output if no output file is specified
or if it is -.
.SS "Operation modifiers:"
.TP
\fB\-m\fR, \fB\-\-multi\-domain\fR
apply ref.pot to each of the domains in def.po
.SS "Output details:"
.TP
\fB\-e\fR, \fB\-\-no\-escape\fR
do not use C escapes in output (default)
.TP
\fB\-E\fR, \fB\-\-escape\fR
use C escapes in output, no extended chars
.TP
\fB\-\-force\-po\fR
write PO file even if empty
.TP
\fB\-i\fR, \fB\-\-indent\fR
indented output style
.TP
\fB\-\-no\-location\fR
suppress '#: filename:line' lines
.TP
\fB\-\-add\-location\fR
preserve '#: filename:line' lines (default)
.TP
\fB\-\-strict\fR
strict Uniforum output style
.TP
\fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR
set output page width
.TP
\fB\-s\fR, \fB\-\-sort\-output\fR
generate sorted output and remove duplicates
.TP
\fB\-F\fR, \fB\-\-sort\-by\-file\fR
sort output by file location
.SS "Informative output:"
.TP
\fB\-h\fR, \fB\-\-help\fR
display this help and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
output version information and exit
.TP
\fB\-v\fR, \fB\-\-verbose\fR
increase verbosity level
.TP
\fB\-q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
suppress progress indicators
.SH AUTHOR
Written by Peter Miller.
.SH "REPORTING BUGS"
Report bugs to <bug-gnu-utils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 1995-1998, 2000, 2001 Free Software Foundation, Inc.
.br
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
The full documentation for
.B msgmerge
is maintained as a Texinfo manual.  If the
.B info
and
.B msgmerge
programs are properly installed at your site, the command
.IP
.B info msgmerge
.PP
should give you access to the complete manual.