[Koha-bugs] [Bug 5968] New: News display on opac-main.pl is particular about browser language settings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 28 11:20:08 CEST 2011


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

             Bug #: 5968
           Summary: News display on opac-main.pl is particular about
                    browser language settings
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: OPAC
        AssignedTo: oleonard at myacpl.org
        ReportedBy: magnus at enger.priv.no
         QAContact: koha-bugs at lists.koha-community.org


This problem was discovered by a Swedish library that has 'en', 'nb-NO' and
'sv-SE' installed - and 'en' and 'sv-SE' enabled as languages in the OPAC. 

Whether a new visitor sees any news items on the main page depends on what her
browser language preferences are set to:

* nb-no = The OPAC is displayed in Norwegian (and no news items are displayed).
This is described in bug 2562:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2562

* sv = The page is displayed in Swedish, but no news items are displayed. FAIL! 

* sv-se = The page is displayed in Swedish, with news items for sv-SE also
displayed. Correct. 

So, the code that displays news should probably be able to make the connection
sv -> sv-se the same way the language related code does.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list