[Koha-bugs] [Bug 24973] Allow to localize and translate system preferences with new yaml based installer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 11 23:19:10 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24973

--- Comment #13 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
(In reply to Martin Renvoize from comment #12)
> Struggling to wrap my head around this one at the moment.. do we basically
> end up with still having to maintain a set of distinct sysprefs.yaml files
> within the koha repo?

Hi Martin,
I'm not entirely happy with this approach too, and I'm open to suggestions.
As of now we can only do inserts using yaml, perhaps we can leave syspres.sql
as is and then add a yaml file to 'update' some selected subset of sysprefs,
using this last one to translate.

> If that's the case.. I wonder if we could instead split localisation into a
> distinct step in the installer.. so prefs are translated 'as is'.. but if
> you want to add/change defaults those changes go into their own distinct
> area and files.. something akin to the atomic updates and we run those after
> the rest of install as a localisation step.

I like the idea :)
It's simpler, I'll try to write an alternative patch.
Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list