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? -- 2. That which causes joy or happiness.