[Koha-bugs] [Bug 3176] New: Browser selected languages are not use by OPAC to choose template language

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Thu Apr 30 16:31:08 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3176

           Summary: Browser selected languages are not use by OPAC to choose
                    template language
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: OPAC
        AssignedTo: jmf at liblime.com
        ReportedBy: frederic at tamil.fr
   Estimated Hours: 0.0


In web browser, it is possible to choose prefered languages.
This information is sent with HTTP request in a variable:

  HTTP_ACCEPT_LANGUAGE

Koha is supposed to use this variable to choose template 
page language if KohaOpacLanguage cookie isn't set.
But it doesn't work.  

For example, if I have activated in Koha those 3 language:

  fr-FR, en, ar-Arab

And if in my browser, I choose those languages:

  fr-fr, fr, en-us, ar, en, ar-tn

Even without KohaOpacLanguage, 'en' templates are returned.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/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