[Koha-translate] Translation makes search highlighting not work
Zeno Tajoli
tajoli at cilea.it
Mon Oct 15 12:32:58 CEST 2012
Hi to all,
Il 15/10/2012 12:13, Marcel de Rooy ha scritto:
> In the search results (xslt enabled), a title is shown with something like:
> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=201400" class="title">Geheimakte Johannes Vermeer </a>
>
> In the vernacular (Dutch) language version this shows like:
> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=201400" class="titel">Geheimakte Johannes Vermeer </a>
>
> What happened?
> The translation process translated title into titel in the class attribute of the <a> (in the xslt file).
>
> But this has the potential side-effect of disabling css commands referring to class title, but ALSO the javascript commands for search highlighting (it expects class title). So search highlighting only works under English, not Dutch.
>
> Is there an easy way to exclude the names of class attributes from translation?
in this case is quite easy.
Go to the poine in po file where is 'title' (with lower 't').
In transalte site is:
http://translate.koha-community.org/nl/38/nl-BE-i-opac-t-prog-v-3006000.po/translate/?unit=2836905
In fact now in Koha 'title' in lower case and without any other word is
present only here:
opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl:403
So, instead of translate, left 'title'.
Bye
Zeno Tajoli
--
Dott. Zeno Tajoli
tajoliAT_SPAM_no_prendiATcilea.it
fax +39 02 2135520
CILEA - Consorzio Interuniversitario
http://www.cilea.it/disclaimer
More information about the Koha-translate
mailing list