[Koha-bugs] [Bug 7282] invalid language selection

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 1 17:47:57 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7282

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frederic at tamil.fr

--- Comment #4 from Frédéric Demians <frederic at tamil.fr> 2011-12-01 16:47:57 UTC ---
> Perhaps getlanguagecookie should be improve to parse and interprete
> HTTP_ACCEPT_LANGUAGE too ? But duplicate code (in themelanguage) should be
> stripped.

> And his name is getlanguagecookie ... so should be only the language from
> cookie ? if yes, discard HTTP_ACCEPT_LANGUAGE from getlanguagecookie is a
> solution...

Yes, there seems to have something wrong here. And for me it doesn't
work as it should. This doesn't work:

- Clear your browser cookies
- Select fr, fr-fr, en languages
- Load OPAC main page

We should have fr templates selected, based on browser preference. We
have English template.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list