Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
translations:msgmerge [2011/05/11 22:42] – pjotr | translations:msgmerge [2011/05/20 14:42] – pjotr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Merge PO files ====== | ====== Merge PO files ====== | ||
- | The command line tool '' | + | The command line tool '' |
- | msgmerge | + | msgmerge |
- | The result in output.po contains the reference-file with the new translated strings from the updated-po-file. | + | The result in output.po contains the target_po-file with the new translated strings from the up_to_date_po-file. |
- | This tool can be used to merge strings from the development branch towards | + | This tool can be used to merge strings from a stable branch |
- | An example | + | A specific |
- | Both files are in the Downloads | + | This is fully translated in the stable "Xfce 4.8" and needs to be merged with an incomplete Dutch translation file in the development branch " |
+ | |||
+ | Both files are in the directory | ||
Copy/paste the following command in your terminal: | Copy/paste the following command in your terminal: | ||
Line 20: | Line 22: | ||
Now copy/paste the following command in your terminal: | Now copy/paste the following command in your terminal: | ||
- | msgmerge packageW-xfce-4-8.nl.po packageW-master.nl.po > NEWpackageW.master.nl.po | + | msgmerge packageW-xfce-4-8.nl.po packageW-master.nl.po > NEWpackageW-master.nl.po |
(press Enter) | (press Enter) | ||
Line 26: | Line 28: | ||
Then delete both " | Then delete both " | ||
- | Then rename " | + | Then rename " |
- | Finally: upload " | + | Finally: upload " |
- | Note that you cannot send the output directly to " | + | Note that you cannot send the output directly to " |