Bug 24712

Summary: Use YAML files for some of the update data
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: bgkriegel, f.demians, jonathan.druart, julian.maurice, katrin.fischer, tomascohen
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 13897, 24262    
Bug Blocks:    

Description Martin Renvoize 2020-02-22 09:15:28 UTC
Bug 13897 with bug 24262 refine our translation process for install files converting the old SQL files used in the installer for mandatory and optional data into YAML files and adding processing to allow centralised translation of those files alongside the rest of the translation project.

It raises the question, however, of how we should deal with the same data during upgrades. Currently we add the American English values with standard SQL in an atomicupdate file (copied into updatedatabase at push time).

I'm envisaging we may be able to do away with the atomicupdates for this type of data insertion during upgrade and replace it with a step inside updatedatabase that pulls the data, translations and all from the yaml files.

Opening this bug to discus and attempt such an implementation.
Comment 1 Jonathan Druart 2020-11-11 09:27:45 UTC
That would require quite a lot of work (at least non trivial) IMO.

I have checked the different entries for 20.11 and I don't think we would benefit much from having such features. I am removing the "candidate" tag but feel free to add it back if you are willing to work on it!
Comment 2 Martin Renvoize 2021-02-04 08:44:28 UTC
This would be especially useful for new notices for example.