inveniosoftware / rfcs

RFCs for Invenio.
https://rfcs.readthedocs.io
4 stars 15 forks source link

[Proposal] Translation bundle #83

Open utnapischtim opened 1 month ago

utnapischtim commented 1 month ago

TL;DR

introduce a new translation package so called translation bundle. every language translation will be bundled into one python package. this package contains then the translations for python, javascript and html code, for vocabularies, for static pages, for email templates and so on. every translation team could work independent, which means they can decide how many versions of they will produce in a year. the translation bundle is then for the product InvenioRDM.

This approach would like to improve following points

Open discussion points

Rough sketch of the implementation

every package should/could define what points should be triggered automatically and what not (e.g. if a pull from transifex changes something a new release could be created automatically).

collect msgid's inside of the translation bundle package

this sketch is only for python, javascript, html msgid's. define github action with following points:

for vocabularies:

zzacharo commented 2 weeks ago

Parallel ongoing effort from @mesemus https://github.com/oarepo/rdm-lang-tools/blob/main/implementation.md