Re: [Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-14 Thread Miklos Vajna
On Thu, Sep 15, 2011 at 12:44:01AM +0200, Miklos Vajna wrote: > Actually that's not an omission: > > The accessibility strings end up at > translations/unxlngx6.pro/misc/sdf/avmedia/source/framework/localize.sdf > here. The attached patch fixes the issue here. From 3381db95cc026f404094daabbed4a

Re: [Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-14 Thread Miklos Vajna
On Wed, Sep 14, 2011 at 08:15:16PM +0200, Andras Timar wrote: > Hi Miklos, > > 2011/9/10 Miklos Vajna : > > I'm attaching newer versions of both patches: > > > > - the translations one is fixed wrt python (see > >  82f6c0502e51afbc25e5bf0fcee7914a1a5b3f28, the patch had the same > >  problem) >

Re: [Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-14 Thread Andras Timar
Hi Miklos, 2011/9/10 Miklos Vajna : > I'm attaching newer versions of both patches: > > - the translations one is fixed wrt python (see >  82f6c0502e51afbc25e5bf0fcee7914a1a5b3f28, the patch had the same >  problem) > - the core one should be fixed wrt the above two issues > Now it works perfectl

Re: [Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-09 Thread Miklos Vajna
On Fri, Sep 09, 2011 at 10:40:54AM +0200, Andras Timar wrote: > There are 2 minor issues. > 1. When the English string contains \n and translation does not > contain \n, the script outputs the English string instead of the > translation. See for example this line: > basctlsource\basicide\

Re: [Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-09 Thread Andras Timar
Hi Miklos, 2011/9/8 Miklos Vajna : > I'm attaching an updated patch that fixes po2lo on Windows, where it did > not translate anything due to path translating (/ vs \) issues. > First of all, many thanks for your work. Full build time in translations module with all languages took 82 minutes, with

Re: [Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-08 Thread Miklos Vajna
I'm attaching an updated patch that fixes po2lo on Windows, where it did not translate anything due to path translating (/ vs \) issues. From a1e8bad75279a05bf6a061c53351898eea72433d Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 7 Sep 2011 23:39:15 +0200 Subject: [PATCH] Add po2lo tool -

[Libreoffice] [PATCH] speed up localized builds by introducing po2lo

2011-09-07 Thread Miklos Vajna
Hi, We discussed with Andras that one of the bottleneck of a build with many languages is the slowness of the po2oo script from translations-toolkit. I gave it a try to rewrite it as a standalone script, and it seems to be quite fast here: $ time po2oo --skipsource -i hu/ -o hu.sdf -l hu -t en-U