MSGMERGE(1) | User Commands | MSGMERGE(1) |
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.
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.
The version control method may be selected via the --backup option or through the VERSION_CONTROL environment variable. Here are the values:
The backup suffix is '~', unless set with --suffix or the SIMPLE_BACKUP_SUFFIX environment variable.
Written by Peter Miller.
Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
Copyright © 1995-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
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
should give you access to the complete manual.
February 2021 | GNU gettext-tools 0.21 |