inveniosoftware / cookiecutter-invenio-rdm

Cookiecutter template for a new InvenioRDM instance.
MIT License
4 stars 33 forks source link

cookiecutter: add translations mechanism #241

Closed zzacharo closed 2 years ago

zzacharo commented 2 years ago

Bonus

Once tha above is working, invenio-cli should be able to extract_messages, compile_catalog, init_catalog, update_catalog from/to this folder.

Goal is to be able to extract messages both from invenio.cfg, templates and the site folder if the user has code defined there

Resources

Invenio-i18n translation loading https://github.com/inveniosoftware/invenio-i18n/blob/master/invenio_i18n/ext.py#L113

ppanero commented 2 years ago

Questions:

Next steps: