[wp-polyglots] How to translate new versions

Jovan Kostovski chombium at gmail.com
Sun Jan 28 01:55:06 GMT 2007


On 1/27/07, David Horat <david.horat at gmail.com> wrote:
> any possibility of reusing the old translations from 2.0.5 into the
> new 2.1 automatically, without having to search them manually on the
> old file? Thanks in advance.

Yes, there is. Use the "msgmerge" program from gettext utils.
 msgmerge [OPTION] def.po ref.pot

Here is an example:
msgmerge mk_OLD.po wordpress.pot -o mk.po

The translations from mk_OLD.po are "placed" in wordpress.pot,
and the output results (results from merging) are written in mk.po

GREETZ, Jovan

-- 
Advice for software developers and horse racing enthusiasts: Avoid hacks


More information about the wp-polyglots mailing list