[Koha-translate] Translation makes search highlighting not work

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Mon Oct 15 12:13:36 CEST 2012


Hi all,

Would you have a solution fort his problem?

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?



Marcel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7791 bytes
Desc: not available
URL: </pipermail/koha-translate/attachments/20121015/f62a1a52/attachment.bin>


More information about the Koha-translate mailing list