Closed zzacharo closed 2 years ago
Questions:
extract
) with the values from cookiecutter init
(copyright holder, email, etc.).translations
folder be optional? --> discussed in Discord: should not be optionalNext steps:
_
in invenio.cfgsite
folder code.
translations
folder should be in top levelvar/instance
folder so that the translations take precedenceBonus
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 thereResources
Invenio-i18n translation loading https://github.com/inveniosoftware/invenio-i18n/blob/master/invenio_i18n/ext.py#L113