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

Lari Strand <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #22 from Lari Strand <[email protected]> ---
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 :).

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