[dev] Language cookie
Jan Schneider
jan@horde.org
Wed, 19 Dec 2001 22:15:14 +0100
Zitat von Jan Schneider <jan@horde.org>:
> Zitat von Jan Schneider <jan@horde.org>:
>
> > Zitat von Jon Parise <jon@horde.org>:
> >
> > > On Wed, Dec 19, 2001 at 03:15:15PM +0100, Jan Schneider wrote:
> > >
> > > > 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.
> > >
> > > Right, that's how it's working now.
> > >
> > > > Can't we call the language selection method another time after the
>
> > > > preference are read? I'll try it.
> > >
> > > Sure, that shouldn't be a problem.
> >
> > I'm almost ready with it. I'll commit it later today.
>
> I commited some changes. We should play with some days before merging
> it.
And here is the first problem: The gettext strings in registry.php will
never get translated because it's always loaded before the preferences and
can't be reloaded, like I do it with the prefs.php file.
I'm going to inititialize the language before registry.php is loaded so
that at least the browser setting is respected. Less than perfect!
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
::::::::::::::::::::::::::::::::::::::::::::::