http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12705
--- Comment #1 from Marc Véron <[email protected]> --- Created attachment 30518 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30518&action=edit Bug 12705 - News not possible for one sublanguage if two sublanguages are installed To reproduce problem: Install and enable (in systempreferences:I18N/L10N language) e.g. Português Português (pt-PT) Português (pt-BR) Deutsch Deutsch (de-CH) Deutsch (de-DE) Go to cgi-bin/koha/tools/koha-news.pl and try to create news. The dropdown 'Display location' contains: - All - Librarian interface - Slip - OPAC (pt-BR) - OPAC (en) - OPAC (de-DE) OPAC (de-CH) and OPAC (pt-PT) are missing. It is not possible to create news for them (even if you disable e.g. de-DE or pt-BR) in system preferences). This patch reduces the possible languages to the main language. In the example above you will get: - All - Librarian interface - Slip - OPAC (pt) - OPAC (en) - OPAC (de) The OPAC then desiplays the news for all variants of a language. E.g. news for OPAC (de) is displayed for de-DE and de-ch News that already existed before applying the patch e.g. for de-DE will display for all de variants (de-DE and de-CH). To test: - Go to cgi-bin/koha/tools/koha-news.pl - Dropdown for location will display only main languages for OPAC (e.g. de instead of de-DE) - Create news for a language - Got to main page of OPAC, choose language variant - News should display - Choose other language variant for same language - News should display as well. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
