Bug 18911: Add the ability to set the preferred lang for notice at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Jun 2020 10:20:36 +0000 (12:20 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 13:15:41 +0000 (15:15 +0200)
commit0ab27fe6da01095ec3303e35b5736f9ed9bbc07e
tree8e52bd51bd941875d232332d6a3bfd19a9ab1d89
parentb48869f1b865ae1f172557274062e932318427db
Bug 18911: Add the ability to set the preferred lang for notice at the OPAC

Patron should be allowed to modify this setting without asking a staff
member.

The setting is not configurable and cannot be hidden via a syspref.

Test plan:
- Turn the pref TranslateNotices on
- Install some languages
- Edit your messaging settings at the OPAC
=> Notice the "Preferred language for notices" dropdown list
- Select one
=> Confirm that the value is saved in DB

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt
opac/opac-messaging.pl