NAME

msgmerge - merge message catalog and template

SYNOPSIS

msgmerge [_O_P_T_I_O_N] _d_e_f_._p_o _r_e_f_._p_o_t

DESCRIPTION

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.

Mandatory arguments to long options are mandatory for short options too.

Input file location:

def.po
translations referring to old sources
ref.pot
references to new sources
--DD, ----ddiirreeccttoorryy=_D_I_R_E_C_T_O_R_Y
add DIRECTORY to list for input files search
--CC, ----ccoommppeennddiiuumm=_F_I_L_E
additional library of message translations, may be specified more than once

Operation mode:

--UU, ----uuppddaattee
update def.po, do nothing if def.po already up to date

Output file location:

--oo, ----oouuttppuutt--ffiillee=_F_I_L_E
write output to specified file

The results are written to standard output if no output file is specified or if it is -.

Output file location in update mode: The result is written back to def.po.

----bbaacckkuupp=_C_O_N_T_R_O_L
make a backup of def.po
----ssuuffffiixx=_S_U_F_F_I_X
override the usual backup suffix

The version control method may be selected via the ----bbaacckkuupp option or through the VERSION_CONTROL environment variable. Here are the values:

none, off
never make backups (even if ----bbaacckkuupp is given)
numbered, t
make numbered backups
existing, nil
numbered if numbered backups exist, simple otherwise
simple, never
always make simple backups

The backup suffix is `~', unless set with ----ssuuffffiixx or the SIMPLE_BACKUP_SUFFIX environment variable.

Operation modifiers:

--mm, ----mmuullttii--ddoommaaiinn
apply ref.pot to each of the domains in def.po
--NN, ----nnoo--ffuuzzzzyy--mmaattcchhiinngg
do not use fuzzy matching

Input file syntax:

--PP, ----pprrooppeerrttiieess--iinnppuutt
input files are in Java .properties syntax
----ssttrriinnggttaabbllee--iinnppuutt
input files are in NeXTstep/GNUstep .strings syntax

Output details:

--ee, ----nnoo--eessccaappee
do not use C escapes in output (default)
--EE, ----eessccaappee
use C escapes in output, no extended chars
----ffoorrccee--ppoo
write PO file even if empty
--ii, ----iinnddeenntt
indented output style
----nnoo--llooccaattiioonn
suppress '#: filename:line' lines
----aadddd--llooccaattiioonn
preserve '#: filename:line' lines (default)
----ssttrriicctt
strict Uniforum output style
--pp, ----pprrooppeerrttiieess--oouuttppuutt
write out a Java .properties file
----ssttrriinnggttaabbllee--oouuttppuutt
write out a NeXTstep/GNUstep .strings file
--ww, ----wwiiddtthh=_N_U_M_B_E_R
set output page width
----nnoo--wwrraapp
do not break long message lines, longer than the output page width, into several lines
--ss, ----ssoorrtt--oouuttppuutt
generate sorted output
--FF, ----ssoorrtt--bbyy--ffiillee
sort output by file location

Informative output:

--hh, ----hheellpp
display this help and exit
--VV, ----vveerrssiioonn
output version information and exit
--vv, ----vveerrbboossee
increase verbosity level
--qq, ----qquuiieett, ----ssiilleenntt
suppress progress indicators

AUTHOR

Written by Peter Miller.

REPORTING BUGS

Report bugs to . Copyright © 1995-1998, 2000-2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

The full documentation for msgmerge is maintained as a Texinfo manual. If the info and msgmerge programs are properly installed at your site, the command
info msgmerge

should give you access to the complete manual.