[dev] Language cookie

Jan Schneider jan@horde.org
Wed, 19 Dec 2001 15:15:15 +0100


Zitat von Jon Parise <jon@horde.org>:

> On Tue, Dec 18, 2001 at 11:28:37PM -0500, Jon Parise wrote:
> 
> > > But in this case the personal preference must overwrite the language
> 
> > > selection in the login screen.
> >  
> > Right.  That doesn't appear to be happening now, though.  Could
> > you have a look at it?  My browser advertises English, so it
> > makes it harder to test.  I'll do what I can, though.
>  
> Okay, it looks like we sent the language in the registry, but we
> need the registry to get the current language.  It's a catch-22.
> 
> Any ideas on the best way to resolve that (other than restoring
> the cookie)?

Yes, now the only thing that is respected is how you set up your browser. 
So you always have to go to the language options to get back your selected 
language if you use a browser with another preferred language.

Can't we call the language selection method another time after the 
preference are read? I'll try it.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::