Bug 7821 - {langcode} will be replaced with current interface language
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 24 Mar 2012 16:47:57 +0000 (17:47 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 29 Mar 2012 15:05:12 +0000 (17:05 +0200)
commitf91bd36399b1ab46649482f80e0ff1b438a8d9f6
tree3f1e8a83c365abfcb03964f5c48e8ccd70f2cb39
parent8f179152317a6293054a9ddc2e8d3d6b79b7b1f6
Bug 7821 - {langcode} will be replaced with current interface language

This makes bug 4032 support multi-language Koha installation which is important
for some of Koha users.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
1) After update XSLT system preferences are set to 'default'. All views
(OPAC and staff, results and detail page) work and switching languages
selects the correct translated file.

2) Leaving empty works and normal views are used.

3) Putting in a single URL without placeholder works.

4) Putting in a URL with placeholder works. Created local directories
have to match the language codes.

NOTE: In order to make the URLs and patchs work, the Utils file needs to be
copied too.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/XSLT.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref