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

Re: translation of sitemap page



On Thu, Jan 02, 2003 at 06:14:16PM +0100, Denis Barbier wrote:
> > > > The problem is that input file is ../english/sitemap.wml, thus
> > > > english/.wmlrc is read instead of italian/.wmlrc.  This is why
> > > > you pass some -D flags when generating sitemap.<xx>.html files.
> > > > But italian/.wmlrc does not define CUR_LOCALE. and English value
> > > > is used instead, i.e. en_US.
> > > > IMO the right fix is to put symlinks on sitemap.wml so that input
> > > > file is <lang>/sitemap.wml
> > > 
> > > IMO the right fix is to take the local CUR_LOCALE, like it takes the other
> > > parameters.
> > 
> > Er... it runs $(shell egrep '^-D (CUR_|CHAR)' .wmlrc). That's supposed to
> > match CUR_LOCALE. WTH does a .wmlrc override parameters on the command line?
> 
> Some <lang>/.wmlrc files do not define CUR_LOCALE, so there is no
> CUR_LOCALE command line flag, and its value is taken from english/.wmlrc.

Then I think the right fix is to be explicit everywhere. :)

-- 
     2. That which causes joy or happiness.



Reply to: