Bug 5968 - News display on opac-main.pl is particular about browser language settings
Summary: News display on opac-main.pl is particular about browser language settings
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Bugs List
Depends on:
Reported: 2011-03-28 09:20 UTC by Magnus Enger
Modified: 2020-01-06 20:14 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
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.