[Koha-bugs] [Bug 8954] Languages list in advanced search always in english

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 22 16:58:04 CEST 2012


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

--- Comment #1 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
Created attachment 12997
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12997&action=edit
[PATCH] Bug 8954: Make languages list in advanced search translatable

In opac-search.pl and search.pl, this patch moves the $lang variable from the
end to the begining of the script, and use it as a parameter of getAllLanguages
method.
To test, set your opac and staff interface in english and in other languages
and check search.pl and opac-search.pl :
- If language names in your languages_description table are translated in the
same language you use for your GUI, the language names in dropdown list will be
translated in this language (+native name).
- If your GUI is in english, or in a language into whitch languages names are
not translated in languages_description, the dropdown list will stay in english
(+native name).

Mathieu Saby
Rennes 2 University

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list