msgmerge
merges two PO files
TLDR
Merge translations with template
$ msgmerge [old.po] [new.pot] -o [merged.po]
Update PO file in place$ msgmerge -U [existing.po] [template.pot]
Merge with fuzzy matching$ msgmerge --fuzzy-match [old.po] [new.pot] -o [merged.po]
Backup before update$ msgmerge -U --backup=numbered [file.po] [template.pot]
Quiet mode$ msgmerge -q [old.po] [new.pot] -o [merged.po]
SYNOPSIS
msgmerge [options] def.po ref.pot
DESCRIPTION
msgmerge merges two PO files. It's part of GNU gettext.
The tool updates translations with new template. Preserves existing translations while adding new strings.
PARAMETERS
DEF.PO
Existing translations file.REF.POT
Reference template file.-o FILE
Output file.-U
Update def.po in place.--fuzzy-match
Use fuzzy matching.--backup TYPE
Backup control.--help
Display help information.
CAVEATS
Part of gettext-tools. Fuzzy matches marked. Review merged output.
HISTORY
msgmerge is part of GNU gettext, essential for maintaining translation files across software updates.
