I need help

Yuri Chornoivan yurchor at ukr.net
Fri Jan 9 12:32:26 UTC 2015


написане Fri, 09 Jan 2015 14:17:44 +0200, Tiago Carrondo  
<tiago at ubuntu-pt.org>:

> Hi all!
>
> How can I import translations from one .po file to another?
>
>
> Regards,
>
> Tiago Carrondo
>

Hi,

There are several ways to accomplish this.

1. msgmerge from gettext-utils:

msgmerge -U your.po project.pot

2. Lokalize secondary synchronization. Open your new po, select "Settings  
-> Tools -> Secondary synchronization", right-click on the "Secondary  
synchronization" pane and open the file to be imported. Right-click again  
and choose the appropriate option from the context menu.

3. Create project on transifex.com and upload the file to be imported into  
your project.

4. Use python polib to write some script to do the work for you (Python is  
simple so it takes not more than ~100 characters to achieve your goal).

5. More complicated ways...

Hope this helps.

Best regards,
Yuri




More information about the ubuntu-translators mailing list