[Koha-bugs] [Bug 7514] Choose OPAC language with URL parameter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 11:28:46 CET 2012


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

Frère Sébastien Marie <semarie-koha at latrappe.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|rel_3_4                     |master

--- Comment #5 from Frère Sébastien Marie <semarie-koha at latrappe.fr> 2012-02-09 10:28:46 UTC ---
(In reply to comment #4)
> Only so I get it right for testing later: Will this change only affect
> http://opac/cgi-bin/koha/changelanguage.pl?language=fr-FR or should the
> parameter work for any page after applying the patch?

The patch of Frederic permit to use the "changelanguage.pl" script directly
(without need of referer [setted when called from a link to "changelanguage.pl"
for example])

So after called "http://opac/cgi-bin/koha/changelanguage.pl?language=fr-FR" in
your browser, the cookie is setted for the rest of the session to fr-FR
language.

As cookie check is done before browser language detection, the use of this url
permit to circumvent the browser default language.

-- 
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