Bug 24712 - Use YAML files for some of the update data
Summary: Use YAML files for some of the update data
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
Depends on: 13897 24262
  Show dependency treegraph
Reported: 2020-02-22 09:15 UTC by Martin Renvoize
Modified: 2021-02-04 08:44 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
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.