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: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
: 34994 36737 (view as bug list)
Depends on: 13897 24262
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-22 09:15 UTC by Martin Renvoize (ashimema)
Modified: 2024-07-04 18:02 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 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 (ashimema) 2021-02-04 08:44:28 UTC
This would be especially useful for new notices for example.
Comment 3 Caroline Cyr La Rose 2024-05-03 14:48:21 UTC

*** This bug has been marked as a duplicate of bug 34994 ***
Comment 4 Caroline Cyr La Rose 2024-05-03 14:48:55 UTC
Oops sorry, I wanted to do the opposite…
Comment 5 Caroline Cyr La Rose 2024-05-03 14:49:24 UTC
*** Bug 34994 has been marked as a duplicate of this bug. ***
Comment 6 Caroline Cyr La Rose 2024-05-03 14:55:04 UTC
*** Bug 36737 has been marked as a duplicate of this bug. ***