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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 1 18:04:50 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
----------------------------------------------------------------------------
   Attachment #6487|0                           |1
        is obsolete|                            |

--- Comment #7 from Frédéric Demians <frederic at tamil.fr> 2011-12-01 17:04:50 UTC ---
Created attachment 6488
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6488
Proposed patch

Bug 7282 Invalid language selection

Frère Sébastien Marie refactored patch to ensure that without cookie, language
selection is based on browser preferences.

To reproduce the bug:

- Activate en and fr-FR for OPAC
- Clear your browser cookies
- Select your language preference in your browser: fr, fr-fr, en
- Load OPAC main page
- OPAC is displayed in English, rather than French as asked by browser
  preferences

Apply the patch and test:

- Clear your browser cookies
- Load OPAC main page
- Pages are displayed in French

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