How to merge .PO fies

26 views
Skip to first unread message

bbane

unread,
Apr 19, 2011, 5:56:28 AM4/19/11
to panoramio-t...@googlegroups.com
I have translated about 60% of 1772 lines of file, but have not it send.
Now I see that file on forum have 1938 lines (it have same number of translated lines as the file I started to translate).

How can I merge new lines into the old file to continue translating with updatetd file, and not to lose previous translations (which are not published)?

gerard sanz

unread,
Apr 19, 2011, 7:15:49 AM4/19/11
to panoramio-t...@googlegroups.com
You do not need to merge them. When you send me the file I will do the merge for you. So if you started working in a file that is not the latest, you can send that one to me so your job is not lost.

bbane

unread,
Apr 19, 2011, 9:02:16 AM4/19/11
to panoramio-t...@googlegroups.com
Thats nice, but I'dd like to know how to merge files. As I am translating to serbian in cooperation with few members of panoramio and we would like to send correct file. If I have to send yuo partialy transleted file we will have to waith until you merge file and put it on line.

If we could merge file, then we are able to complete our job without waiting for you. And to finaly send you complete file.

gerard sanz

unread,
Apr 19, 2011, 9:06:41 AM4/19/11
to panoramio-t...@googlegroups.com
I do it with a Linux machine. You can install Get text:

http://www.gnu.org/software/gettext/

The command to merge files is:

msgcat file1 file2 -o file2

This will merge content of file1 in file2 and save it in file2

To check the status of the file you can use:

msgfmt --statistics file

bbane

unread,
Apr 20, 2011, 2:32:59 AM4/20/11
to panoramio-t...@googlegroups.com
Thanks ...
merge done...
Reply all
Reply to author
Forward
0 new messages