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

--- Comment #4 from mathieu saby <[email protected]> ---
Why it is not working :
1. in C4/Languages.pm, the sub getAllanguages can get a parameter, whose value
is assigned to the variable $current_language. If no parameter,
$current_language gets the value 'en'.
Then the sub search for $current_language in "lang" column of 
language_descriptions table. If $current_language does not match any value in
this column, the sub does not search english language name (as I thought.). So
no languages are showing in the resulting list in html.

2. In this table, the only 2 values in lang colum are currently "en" and "fr".
But in opac-search.pl and opac-pl, I pass as a parameter the value given
C4::Templates::getlanguages. For a french template, it is "fr-FR", and not
"fr".


So it is more complicated as I first thought, and I don't know how to resolve
these 2 issues for the moment. If somebody has an idea...

Mathieu Saby
Rennes 2 University

-- 
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/

Reply via email to