Bug 24872

Summary: Set languages system preferences after web install
Product: Koha Reporter: Bernardo Gonzalez Kriegel <bgkriegel>
Component: Installation and upgrade (web-based installer)Assignee: Bernardo Gonzalez Kriegel <bgkriegel>
Status: CLOSED FIXED QA Contact: Jonathan Druart <jonathan.druart>
Severity: minor    
Priority: P5 - low CC: 1joynelson, black23, gmcharlt, hayleypelham, jonathan.druart, lucas
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13897
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
20.05.00, 19.11.05, 19.05.10
Circulation function:
Attachments: Bug 24872: Set languages prefererences after install
Bug 24872: Set languages prefererences after install
Bug 24872: Set languages prefererences after install

Description Bernardo Gonzalez Kriegel 2020-03-15 22:45:43 UTC
After doing a web install, in a language other than English, it is necessary to explicitly activate the 'language' and 'opaclanguages' system preferences using the intranet in English!

We could set those preferences using the install language.
Comment 1 Bernardo Gonzalez Kriegel 2020-03-15 23:20:34 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2020-03-23 13:24:57 UTC
Created attachment 101446 [details] [review]
Bug 24872: Set languages prefererences after install

This patch set 'languages' and 'opaclanguages' system
preferences with the language used during install.

To test:
1. Apply the patch
2. Do a clean install in a language other than english
3. Verify that 'languages' and 'opaclanguages' system
preferences show the language code used during install,
besides english.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Jonathan Druart 2020-03-24 09:22:09 UTC
Created attachment 101522 [details] [review]
Bug 24872: Set languages prefererences after install

This patch set 'languages' and 'opaclanguages' system
preferences with the language used during install.

To test:
1. Apply the patch
2. Do a clean install in a language other than english
3. Verify that 'languages' and 'opaclanguages' system
preferences show the language code used during install,
besides english.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Note: We could even move it first in the list (those prefs are now ordered)
Comment 4 Martin Renvoize (ashimema) 2020-03-24 09:30:22 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 5 Joy Nelson 2020-04-03 21:44:22 UTC
Backported to 19.11.x for 19.11.05
Comment 6 Lucas Gass (lukeg) 2020-04-13 20:32:24 UTC
backported to 19.05.x for 19.05.10
Comment 7 Hayley Pelham 2020-04-17 02:02:49 UTC
Enhancement will not be backported to 18.11.x series.