https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39860

--- Comment #24 from Lucas Gass (lukeg) <[email protected]> ---
(In reply to Lari Strand from comment #23)
> Our specific need would be to translate codes you get from 942c ( Koha
> [default] item type ) to a readable form with translations for them.

(In reply to Lari Strand from comment #22)
> Could it be possible to pass the user's selected UI/intranet language so we
> could build translations based on it like:
> 
> [% IF record.subfield('020' , 'q') %]
>   [% IF lang == 'fi-FI' %]
>   <span class="results_summary test1">
>       <span class="label">Sidosasu: </span>
>       [% record.subfield('020' , 'q') %]
>   </span>
>   [% ELSIF lang == 'en' %]
>   ...
> 
> I tried to pass it as a variable in the XSLT.pm module but couldn't get it
> to show and the lang TT parameter used in other parts of Koha templates was
> not available. Could be that I'm not using the TT correctly. It feels like
> we can't use:
> 
> [% USE AuthorisedValues %]
> [% USE Languages %]
> 
> etc. either but my skills with template toolkit end here :).

Translations are a good point, I think the way to deal with that is probably to
move this from a system preference to something like an HTML
customization/additional contents.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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