Hi Sayamindu,
Did you actually try python-Levenshtein? It made pot2po 20 times faster on my test server.
### With Levenshtein $ time pot2po -t etoys/po/ja/etoys.po etoys/po/templates/etoys.pot ja.po real 0m57.951s user 0m57.116s sys 0m0.308s
### Without Levenshtein $ time pot2po -t etoys/po/ja/etoys.po etoys/po/templates/etoys.pot ja.po real 21m26.559s user 21m18.504s sys 0m0.388s
### msgmerge $ time msgmerge etoys/po/ja/etoys.po etoys/po/templates/etoys.pot > ja2.po real 0m6.555s user 0m6.440s sys 0m0.032s
Cheers, - Takashi
Regarding POT merging, unfortunately I have not been able to this till now - since it looks the PO files are too large for normal Pootle to handle (the merge command took 100% CPU on the dual Opteron server for 20 minutes before I killed it). I have spoken to the developers of Pootle, and they suggested some optimizations which can be done (certain extra Python modules need to be installed in the server) to speed up the process. I'm trying to coordinate with the server admins to do this. If nothing works out by the end of this week - I'll use msgmerge manually from the command line to update the PO files.
Maybe I have to learn python to help Pootle developers...
see the recent discussion on Pootle list Sayamindu mentioned, insight on this was explained.
http://sourceforge.net/mailarchive/forum.php?thread_name=a1314bfe0801260957u...