[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Script for backporting translations



Christian Perrier skreiv:
- Merge HEAD.po with STABLE.po with these rules:
	1 If msgid's are equal and msgstr's are different => use msgstr
	  from HEAD.po
	2 Any msgid in STABLE.po that are not in HEAD.po should be left
	  with its current msgstr.
	3 Any msgid in HEAD.po that are not in STABLE.po should be
	  discarded.


I would do this this way:

msgcat --use-first HEAD.po STABLE.po >merged.po
msgmerge -U merged.po STABLE.pot
msgattrib --no-obsolete merged.po >RESULT.po


Thank you. This will do I think :)

Håvard



Reply to: