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       -e, --no-escape
96              do not use C escapes in output (default)
97
98       -E, --escape
99              use C escapes in output, no extended chars
100
101       --force-po
102              write PO file even if empty
103
104       -i, --indent
105              indented output style
106
107       --no-location
108              suppress '#: filename:line' lines
109
110       --add-location
111              preserve '#: filename:line' lines (default)
112
113       --strict
114              strict Uniforum output style
115
116       -p, --properties-output
117              write out a Java .properties file
118
119       --stringtable-output
120              write out a NeXTstep/GNUstep .strings file
121
122       -w, --width=NUMBER
123              set output page width
124
125       --no-wrap
126              do not break long message lines, longer  than  the  output  page
127              width, into several lines
128
129       -s, --sort-output
130              generate sorted output
131
132       -F, --sort-by-file
133              sort output by file location
134
135   Informative output:
136       -h, --help
137              display this help and exit
138
139       -V, --version
140              output version information and exit
141
142       -v, --verbose
143              increase verbosity level
144
145       -q, --quiet, --silent
146              suppress progress indicators
147

AUTHOR

149       Written by Peter Miller.
150

REPORTING BUGS

152       Report bugs to <bug-gnu-gettext@gnu.org>.
153
155       Copyright   ©  1995-1998,  2000-2007  Free  Software  Foundation,  Inc.
156       License     GPLv3+:     GNU     GPL     version     3     or      later
157       <http://gnu.org/licenses/gpl.html>
158       This  is  free  software:  you  are free to change and redistribute it.
159       There is NO WARRANTY, to the extent permitted by law.
160

SEE ALSO

162       The full documentation for msgmerge is maintained as a Texinfo  manual.
163       If  the info and msgmerge programs are properly installed at your site,
164       the command
165
166              info msgmerge
167
168       should give you access to the complete manual.
169
170
171
172GNU gettext-tools 0.17           November 2007                     MSGMERGE(1)
Impressum