Bug 5968

Summary: News display on opac-main.pl is particular about browser language settings
Product: Koha Reporter: Magnus Enger <magnus>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: P5 - low CC: f.demians, katrin.fischer, veron
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12705
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Magnus Enger 2011-03-28 09:20:08 UTC
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.
Comment 1 Katrin Fischer 2019-05-04 11:49:59 UTC
Magnus, can you tell if this is still an issue?
Comment 2 Magnus Enger 2019-05-26 16:55:11 UTC
As far as I can see this is no longer an issue.