msgmerge - merge message catalog and template |
msgmerge [OPTION] def.po ref.pot |
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 |
-D, --directory=DIRECTORY |
add DIRECTORY to list for input files search |
-C, --compendium=FILE |
additional library of message translations, may be specified more than once |
Output file location: |
-o, --output-file=FILE |
write output to specified file |
The results are written to standard output if no output file is specified or if it is -. |
Operation modifiers: |
-m, --multi-domain |
apply ref.pot to each of the domains in def.po |
Output details: |
-e, --no-escape |
do not use C escapes in output (default) |
-E, --escape |
use C escapes in output, no extended chars |
--force-po |
write PO file even if empty |
-i, --indent |
indented output style |
--no-location |
suppress '#: filename:line' lines |
--add-location |
preserve '#: filename:line' lines (default) |
--strict |
strict Uniforum output style |
-w, --width=NUMBER |
set output page width |
-s, --sort-output |
generate sorted output and remove duplicates |
-F, --sort-by-file |
sort output by file location |
Informative output: |
-h, --help |
display this help and exit |
-V, --version |
output version information and exit |
-v, --verbose |
increase verbosity level |
-q, --quiet, --silent |
suppress progress indicators |
Written by Peter Miller. |
Report bugs to <bug-gnu-utils@gnu.org>. |
Copyright 1995-1998, 2000, 2001 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. |
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. |