[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: files in international/l10n take too long to process



On Fri, Jul 28, 2000 at 01:38:44PM +0200, Josip Rodin wrote:
> On Fri, Jul 28, 2000 at 12:06:34PM +0200, Denis Barbier wrote:
> > > Also, I've noticed that the pass 9 takes quite a lot of time on
> > > vendors.CD file, too; however two slices are used in the file. Could we
> > > <protect pass=5,9> everything but that chunk?
> > 
> > I do not understand what you are suggesting, but give it a try and check
> > if it works.
> 
> What I'm saying is: most of the file doesn't need passes 5 (divert) and 9
> (slices). The line 897 is the only one that uses slices:
> 
> 	<vendor Linpus Technologies[ZH: ¦Ê¸ê¬ì§Þ:] "LinuxShop"[ZH: Linux ±M½æ©±:]>
> 
> So we could also skip pass 9 for everything but that line.

No, have a look at vendors.CD.def, all macros need translations. With
   wml -p1-8 -D CUR_YEAR=2000 vendors.wml
you see what input is passed to pass 9.

> However, this didn't work:
> 
> <protect pass=5>
> <protect pass=9>
> [lots of stuff]
> </protect>
> 	<vendor Linpus Technologies[ZH: ¦Ê¸ê¬ì§Þ:] "LinuxShop"[ZH: Linux ±M½æ©±:]>
> <protect pass=9>
> </protect>
> [lots of stuff]
> </protect>

Unfortunately <protect> tags cannot be nested, and this misbehaviour has
not been fixed yet :(
So you may try
  <protect pass=5,9>
  [lots of stuff]
  </protect>
  	<vendor Linpus Technologies[ZH: ¦Ê¸ê¬ì§Þ:] "LinuxShop"[ZH: Linux ±M½æ©±:]>
  <protect pass=5,9>
  [lots of stuff]
  </protect>
_but_ it does not matter here because you simply cannot protect vendors.CD
against pass 9.

I am not sure if it is worth trying to fix this long time processing, a
much useful job would be to split this file (vendors.en.html is 120KB).

Denis



Reply to: