240 lines
7.1 KiB
HTML
240 lines
7.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of MSGMERGE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>MSGMERGE</H1>
|
|
Section: GNU (1)<BR>Updated: June 2016<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
msgmerge - merge message catalog and template
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>msgmerge</B>
|
|
|
|
[<I>OPTION</I>] <I>def.po ref.pot</I>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
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.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<A NAME="lbAE"> </A>
|
|
<H3>Input file location:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">def.po<DD>
|
|
translations referring to old sources
|
|
<DT id="2">ref.pot<DD>
|
|
references to new sources
|
|
<DT id="3"><B>-D</B>, <B>--directory</B>=<I>DIRECTORY</I><DD>
|
|
add DIRECTORY to list for input files search
|
|
<DT id="4"><B>-C</B>, <B>--compendium</B>=<I>FILE</I><DD>
|
|
additional library of message translations,
|
|
may be specified more than once
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H3>Operation mode:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5"><B>-U</B>, <B>--update</B><DD>
|
|
update def.po,
|
|
do nothing if def.po already up to date
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H3>Output file location:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="6"><B>-o</B>, <B>--output-file</B>=<I>FILE</I><DD>
|
|
write output to specified file
|
|
</DL>
|
|
<P>
|
|
|
|
The results are written to standard output if no output file is specified
|
|
or if it is -.
|
|
<P>
|
|
|
|
Output file location in update mode:
|
|
The result is written back to def.po.
|
|
<DL COMPACT>
|
|
<DT id="7"><B>--backup</B>=<I>CONTROL</I><DD>
|
|
make a backup of def.po
|
|
<DT id="8"><B>--suffix</B>=<I>SUFFIX</I><DD>
|
|
override the usual backup suffix
|
|
</DL>
|
|
<P>
|
|
|
|
The version control method may be selected via the <B>--backup</B> option or through
|
|
the VERSION_CONTROL environment variable. Here are the values:
|
|
<DL COMPACT>
|
|
<DT id="9">none, off<DD>
|
|
never make backups (even if <B>--backup</B> is given)
|
|
<DT id="10">numbered, t<DD>
|
|
make numbered backups
|
|
<DT id="11">existing, nil<DD>
|
|
numbered if numbered backups exist, simple otherwise
|
|
<DT id="12">simple, never<DD>
|
|
always make simple backups
|
|
</DL>
|
|
<P>
|
|
|
|
The backup suffix is '~', unless set with <B>--suffix</B> or the SIMPLE_BACKUP_SUFFIX
|
|
environment variable.
|
|
<A NAME="lbAH"> </A>
|
|
<H3>Operation modifiers:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="13"><B>-m</B>, <B>--multi-domain</B><DD>
|
|
apply ref.pot to each of the domains in def.po
|
|
<DT id="14"><B>-N</B>, <B>--no-fuzzy-matching</B><DD>
|
|
do not use fuzzy matching
|
|
<DT id="15"><B>--previous</B><DD>
|
|
keep previous msgids of translated messages
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H3>Input file syntax:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="16"><B>-P</B>, <B>--properties-input</B><DD>
|
|
input files are in Java .properties syntax
|
|
<DT id="17"><B>--stringtable-input</B><DD>
|
|
input files are in NeXTstep/GNUstep .strings
|
|
syntax
|
|
</DL>
|
|
<A NAME="lbAJ"> </A>
|
|
<H3>Output details:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="18"><B>--lang</B>=<I>CATALOGNAME</I><DD>
|
|
set 'Language' field in the header entry
|
|
<DT id="19"><B>--color</B><DD>
|
|
use colors and other text attributes always
|
|
<DT id="20"><B>--color</B>=<I>WHEN</I><DD>
|
|
use colors and other text attributes if WHEN.
|
|
WHEN may be 'always', 'never', 'auto', or 'html'.
|
|
<DT id="21"><B>--style</B>=<I>STYLEFILE</I><DD>
|
|
specify CSS style rule file for <B>--color</B>
|
|
<DT id="22"><B>-e</B>, <B>--no-escape</B><DD>
|
|
do not use C escapes in output (default)
|
|
<DT id="23"><B>-E</B>, <B>--escape</B><DD>
|
|
use C escapes in output, no extended chars
|
|
<DT id="24"><B>--force-po</B><DD>
|
|
write PO file even if empty
|
|
<DT id="25"><B>-i</B>, <B>--indent</B><DD>
|
|
indented output style
|
|
<DT id="26"><B>--no-location</B><DD>
|
|
suppress '#: filename:line' lines
|
|
<DT id="27"><B>-n</B>, <B>--add-location</B><DD>
|
|
preserve '#: filename:line' lines (default)
|
|
<DT id="28"><B>--strict</B><DD>
|
|
strict Uniforum output style
|
|
<DT id="29"><B>-p</B>, <B>--properties-output</B><DD>
|
|
write out a Java .properties file
|
|
<DT id="30"><B>--stringtable-output</B><DD>
|
|
write out a NeXTstep/GNUstep .strings file
|
|
<DT id="31"><B>-w</B>, <B>--width</B>=<I>NUMBER</I><DD>
|
|
set output page width
|
|
<DT id="32"><B>--no-wrap</B><DD>
|
|
do not break long message lines, longer than
|
|
the output page width, into several lines
|
|
<DT id="33"><B>-s</B>, <B>--sort-output</B><DD>
|
|
generate sorted output
|
|
<DT id="34"><B>-F</B>, <B>--sort-by-file</B><DD>
|
|
sort output by file location
|
|
</DL>
|
|
<A NAME="lbAK"> </A>
|
|
<H3>Informative output:</H3>
|
|
|
|
<DL COMPACT>
|
|
<DT id="35"><B>-h</B>, <B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="36"><B>-V</B>, <B>--version</B><DD>
|
|
output version information and exit
|
|
<DT id="37"><B>-v</B>, <B>--verbose</B><DD>
|
|
increase verbosity level
|
|
<DT id="38"><B>-q</B>, <B>--quiet</B>, <B>--silent</B><DD>
|
|
suppress progress indicators
|
|
</DL>
|
|
<A NAME="lbAL"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Peter Miller.
|
|
<A NAME="lbAM"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
Report bugs to <<A HREF="mailto:bug-gnu-gettext@gnu.org">bug-gnu-gettext@gnu.org</A>>.
|
|
<A NAME="lbAN"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 1995-1998, 2000-2016 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</A>>
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAO"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
The full documentation for
|
|
<B>msgmerge</B>
|
|
|
|
is maintained as a Texinfo manual. If the
|
|
<B>info</B>
|
|
|
|
and
|
|
<B>msgmerge</B>
|
|
|
|
programs are properly installed at your site, the command
|
|
<DL COMPACT>
|
|
<DT id="39"><DD>
|
|
<B>info msgmerge</B>
|
|
|
|
</DL>
|
|
<P>
|
|
|
|
should give you access to the complete manual.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="40"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="41"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="42"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DL>
|
|
<DT id="43"><A HREF="#lbAE">Input file location:</A><DD>
|
|
<DT id="44"><A HREF="#lbAF">Operation mode:</A><DD>
|
|
<DT id="45"><A HREF="#lbAG">Output file location:</A><DD>
|
|
<DT id="46"><A HREF="#lbAH">Operation modifiers:</A><DD>
|
|
<DT id="47"><A HREF="#lbAI">Input file syntax:</A><DD>
|
|
<DT id="48"><A HREF="#lbAJ">Output details:</A><DD>
|
|
<DT id="49"><A HREF="#lbAK">Informative output:</A><DD>
|
|
</DL>
|
|
<DT id="50"><A HREF="#lbAL">AUTHOR</A><DD>
|
|
<DT id="51"><A HREF="#lbAM">REPORTING BUGS</A><DD>
|
|
<DT id="52"><A HREF="#lbAN">COPYRIGHT</A><DD>
|
|
<DT id="53"><A HREF="#lbAO">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:19 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|