1MSGMERGE(1)                           GNU                          MSGMERGE(1)
2
3
4

NAME

6       msgmerge - merge message catalog and template
7

SYNOPSIS

9       msgmerge [OPTION] def.po ref.pot
10

DESCRIPTION

12       Merges  two  Uniforum  style .po files together.  The def.po file is an
13       existing PO file with translations which will  be  taken  over  to  the
14       newly  created  file as long as they still match; comments will be pre‐
15       served, but extracted comments and file positions  will  be  discarded.
16       The  ref.pot  file  is  the last created PO file with up-to-date source
17       references but old translations, or a PO Template file (generally  cre‐
18       ated  by  xgettext);  any  translations or comments in the file will be
19       discarded, however dot comments and file positions will  be  preserved.
20       Where an exact match cannot be found, fuzzy matching is used to produce
21       better results.
22
23       Mandatory arguments to long options are  mandatory  for  short  options
24       too.
25
26   Input file location:
27       def.po translations referring to old sources
28
29       ref.pot
30              references to new sources
31
32       -D, --directory=DIRECTORY
33              add DIRECTORY to list for input files search
34
35       -C, --compendium=FILE
36              additional  library  of  message  translations, may be specified
37              more than once
38
39   Operation mode:
40       -U, --update
41              update def.po, do nothing if def.po already up to date
42
43   Output file location:
44       -o, --output-file=FILE
45              write output to specified file
46
47       The results are written to standard output if no output file is  speci‐
48       fied or if it is -.
49
50       Output  file  location  in  update  mode: The result is written back to
51       def.po.
52
53       --backup=CONTROL
54              make a backup of def.po
55
56       --suffix=SUFFIX
57              override the usual backup suffix
58
59       The version control method may be selected via the --backup  option  or
60       through the VERSION_CONTROL environment variable.  Here are the values:
61
62       none, off
63              never make backups (even if --backup is given)
64
65       numbered, t
66              make numbered backups
67
68       existing, nil
69              numbered if numbered backups exist, simple otherwise
70
71       simple, never
72              always make simple backups
73
74       The  backup  suffix  is  '~',  unless  set  with  --suffix  or the SIM‐
75       PLE_BACKUP_SUFFIX environment variable.
76
77   Operation modifiers:
78       -m, --multi-domain
79              apply ref.pot to each of the domains in def.po
80
81       -N, --no-fuzzy-matching
82              do not use fuzzy matching
83
84       --previous
85              keep previous msgids of translated messages
86
87   Input file syntax:
88       -P, --properties-input
89              input files are in Java .properties syntax
90
91       --stringtable-input
92              input files are in NeXTstep/GNUstep .strings syntax
93
94   Output details:
95       --lang=CATALOGNAME
96              set 'Language' field in the header entry
97
98       --color
99              use colors and other text attributes always
100
101       --color=WHEN
102              use colors and other text  attributes  if  WHEN.   WHEN  may  be
103              'always', 'never', 'auto', or 'html'.
104
105       --style=STYLEFILE
106              specify CSS style rule file for --color
107
108       -e, --no-escape
109              do not use C escapes in output (default)
110
111       -E, --escape
112              use C escapes in output, no extended chars
113
114       --force-po
115              write PO file even if empty
116
117       -i, --indent
118              indented output style
119
120       --no-location
121              suppress '#: filename:line' lines
122
123       -n, --add-location
124              preserve '#: filename:line' lines (default)
125
126       --strict
127              strict Uniforum output style
128
129       -p, --properties-output
130              write out a Java .properties file
131
132       --stringtable-output
133              write out a NeXTstep/GNUstep .strings file
134
135       -w, --width=NUMBER
136              set output page width
137
138       --no-wrap
139              do  not  break  long  message lines, longer than the output page
140              width, into several lines
141
142       -s, --sort-output
143              generate sorted output
144
145       -F, --sort-by-file
146              sort output by file location
147
148   Informative output:
149       -h, --help
150              display this help and exit
151
152       -V, --version
153              output version information and exit
154
155       -v, --verbose
156              increase verbosity level
157
158       -q, --quiet, --silent
159              suppress progress indicators
160

AUTHOR

162       Written by Peter Miller.
163

REPORTING BUGS

165       Report bugs to <bug-gnu-gettext@gnu.org>.
166
168       Copyright  ©  1995-1998,  2000-2016  Free  Software  Foundation,   Inc.
169       License      GPLv3+:     GNU     GPL     version     3     or     later
170       <http://gnu.org/licenses/gpl.html>
171       This is free software: you are free  to  change  and  redistribute  it.
172       There is NO WARRANTY, to the extent permitted by law.
173

SEE ALSO

175       The  full documentation for msgmerge is maintained as a Texinfo manual.
176       If the info and msgmerge programs are properly installed at your  site,
177       the command
178
179              info msgmerge
180
181       should give you access to the complete manual.
182
183
184
185GNU gettext-tools 0.19.8.1         June 2016                       MSGMERGE(1)
Impressum