On Thu, Jan 02, 2003 at 04:39:07PM +0100, Josip Rodin wrote: > On Tue, Dec 31, 2002 at 02:42:05PM +0100, Josip Rodin 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. Denis