[ic] Why am I always getting the default translation?
Stefan Hornburg
racke at linuxia.de
Thu Aug 14 19:59:59 EDT 2003
On Thu, 14 Aug 2003 15:25:44 +0000 (UTC)
Jon Jensen <jon at endpoint.com> wrote:
> On Thu, 14 Aug 2003, Stefan Hornburg wrote:
>
> > > Most likely the problem was caused by LC working before the page is
> > > parsed rather than during the parse. Adding persist=1 to the setlocale
> > > ended up showing the correct translation, however only after reloading
> > > the page.
> >
> > Yes, [LC] and [L] are parsed first before any other tags, so setlocale
> > doesn't influence the results on the current page (you can call
> > setlocale from Autoload if you like though).
>
> Perhaps a new pragma would be in order? E.g.:
>
> [pragma setlocale de_DE]
Why ? You can always set the language via the URL or the different autoload
mechanisms.
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list