[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
Fri May 15 23:44:38 CEST 2020


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

--- Comment #19 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 104971
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104971&action=edit
Bug 24973: Load custom localization file

This is a working POC patch

It adds a new localization directory that could
host a custom SQL file for each language,
xx-YY/custom.sql

This will be the last file to be loaded at
install time, it can be used to set any difference
from default values.

It can't be deselected at install time.

To test:
1) Apply the patch
2) Install es-ES translation
   ( cd misc/translation; ./translate install es-ES )
3) Do a clean install using es-ES
4) After all files have been loaded check:
    * A new section labeled "Localization data added"
      with one file, custom.sql
    * Inspect the value of FrameworksLoaded syspref,
      last entry must be custom.sql
5) Remove/rename the file or localization dir and
   repeat 3/4, install must proceed normally

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


More information about the Koha-bugs mailing list