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

--- Comment #16 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Héctor from comment #15)
> (In reply to Tomás Cohen Arazi from comment #14)
> > (In reply to Héctor from comment #13)
> > > This works, but the system language is shown only in English, although it 
> > > is
> > > set to Spanish
> > 
> > Could you please fill a new bug for that? Put this one in the 'see also'.
> 
> But the error occurs when you apply this patch.
> 
> I "solved" this by replacing:
> 
>     #Otherwise return theme/'en', last resort fallback/'en'
>     for my $theme (@themes) {
>         if ( -e "$htdocs/$theme/en/$where/$tmpl" ) {
>             return ( $theme, 'en', uniq( \@themes ) );
>         }
>     }
> 
> by
> 
>     # Otherwise return theme/'en', last resort fallback/'en'
>     for my $theme (@themes) {
>         if ( -e "$htdocs/$theme/es-ES/$where/$tmpl" ) {
>             return ( $theme, 'es-ES', uniq( \@themes ) );
>         }
>     }

That part of the code deals with the fallback language, in the situation the
required file doesn't exist in the requested language. So it is ok for that to
fallback to english.

Please fill a new bug if you think/see that the plugins don't respect the
selected language. And please specify the steps to reproduce it. On a new bug
report.

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