Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| translations:msgmerge [2009/08/17 14:56] – created mike | translations:msgmerge [2026/09/11 21:35] (current) – removed kevinbowen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Merge PO files ====== | ||
| - | The command line tool '' | ||
| - | |||
| - | msgmerge updated-po-file reference-file > output.po | ||
| - | |||
| - | The result in output.po contains the reference-file with the new translated strings from the updated-po-file. | ||
| - | |||
| - | This tool can be used to merge strings from the development branch towards a stable branch or vice-versa. | ||
| - | |||
| - | Example with a PO file: | ||
| - | |||
| - | msgmerge ~/ | ||
| - | mv fr.po.new fr.po | ||
| - | |||
| - | Note that you cannot send the output directly on fr.po because it will fail with an 100% untranslated PO file. | ||