[Etoys] etoys & Pootle (Re: Swedish translations for etoys)
Sayamindu Dasgupta
sayamindu at gmail.com
Mon Mar 3 11:14:21 EST 2008
Pootle is still hogging enormous resources to update the files. I am
trying to figure out why. If not fixed by the next weekend - give me a
ping and I'll merge them by hand (msgmerge).
Thanks,
Sayamindu
On Mon, Mar 3, 2008 at 10:11 AM, Korakurider <korakurider at gmail.com> wrote:
> Hi, Sayamindu
>
> Since blocker http://dev.laptop.org/ticket/6221 (python-Levenshtein
> installation) had been fixed,
> could you please try again to merge etoys.pot to each language PO?
>
> (some language community achieved almost 100% translated for old PO
> (!) , and want to translate missing strings in current PO because of
> failed merge of newer POT)
>
> Thanks in advance.
> /Korakurider
>
>
>
> On Tue, Feb 5, 2008 at 8:09 AM, Takashi Yamamiya <tak at metatoys.org> wrote:
> > 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=a1314bfe0801260957u762250e6idfcdc972147f4907%40mail.gmail.com&forum_name=translate-pootle
> >
>
--
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
More information about the Etoys
mailing list