]> git.koha-community.org Git - koha.git/commit
Bug 17762: Add the new TranslateNotices syspref
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Dec 2016 10:27:11 +0000 (11:27 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 May 2017 20:56:40 +0000 (20:56 +0000)
commit2b35e37d7f6c53ddc1c8f3c459288e2d502cba8e
treee021516e67f39a6b01160df820518fa7f45bec47
parent613c6508f0fd52199f3b4d92882d556d1d48a78d
Bug 17762: Add the new TranslateNotices syspref

This whole patch set adds the ability to translate notices in different
languages.
That way, if a library has patrons from different countries, they will
not have to send the notices in only one language but they will be able to
translate them.

Test plan:
- Switch on TranslateNotices
- Translate the interface in different languages
- Edit patron's details
=> You should see a new "prefered language" entry
That language will be used to send notices to this patron
- Edit several notice templates
=> You should see different tabs, 1 tab per language translated at the
opac (which sounds to make sense)
- Now the notice generated for this patron should be the one translated
in the language picked for him
To confirm that, try to generate several notices for this patron.
If the notice is not translated, the default one should be used.

Sponsored-by: Orex Digital
Signed-off-by: Hugo Agud <hagud@orex.es>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_xxxxx.perl
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref