Bug 19817: Use the language from the interface if valid
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Apr 2018 14:30:01 +0000 (11:30 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 6 Sep 2018 17:32:28 +0000 (17:32 +0000)
commitbfbc6cc941632269582891d63c58cea8b4fe668f
treed66700e8a70e50f205bd9e6b86cf1fbaf70c3474
parentac07a5074f3a77f1af691af40ce67facdcd43685
Bug 19817: Use the language from the interface if valid

Use the UI language for the manual, if exists. Use the pref as a
fallback.

With the call to get_template_and_user the value of preferred_language
switched from 'es' (spanish) to 'en' from one click to another (??)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Manual.pm
help.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref