[Koha-bugs] [Bug 7821] XSLT systempreference multi-language support

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 29 17:26:47 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7821

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|master                      |rel_3_8

--- Comment #6 from Paul Poulain <paul.poulain at biblibre.com> ---
(In reply to comment #5)
> I agree. Something like \Q{langcode}\E would be much better. Should I
> re-submit patch or can QA fix this?

I've fixed it, by using \{ and \}

It work fine, thanks.

Note that the result will be broken if you use {langcode} but don't provide a
localised stylesheet for each language

For example, you have 
en/stylesheet.xsl
fr-FR/stylesheet.xsl
set the syspref to
{langcode}/stylesheet.xsl

and activate german at the OPAC: displaying in english and french will be OK,
in german, you'll get a nasty Perl error. Worth specifying it in the
documentation!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list