[Koha] Translation of main user block etc
Katrin Fischer
katrin.fischer.83 at web.de
Wed Jul 25 17:37:21 NZST 2018
Hi,
at the moment Koha itself has no mechanism for translating the HTML
system preferences into multiple languages.
But you can use a combination of OpacUserCSS or OpacUserJS and classes
to show content depending on the active language. Here is an example for
German and English, with a fallback to English:
In OpacUserCSS: div.de-DE {display:none;} body:lang(de-DE) div.en
{display:none;} body:lang(de-DE) div.de-DE {display:block;}
In your system preferences:
<div class="de-DE">...</div>
<div class="en">...</div>
Hope that helps,
Katrin
On 24.07.2018 23:12, drojup wrote:
> Hi there,
>
> I was able to add another language and enable the language selection in OPAC
> and Staff interface.
>
> Does anyone know how/where the mainuser block and the other opac areas can
> be translated?
>
> Regards
>
>
>
> --
> Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list