You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add a more language as default language in my site, like zh_CN; But when I change the invenio.cfg, the web page of upload new record show all 'resource type' as 'en', like below:
Steps to Reproduce
Write the config file invenio.cfg, change the language:
BABEL_DEFAULT_LOCALE = 'zh_CN'
I18N_LANGUAGES = [
('en', _('English'))
('de', _('German')),
('tr', _('Turkish')),
]
2. Rerun the invenioRDM:
invenio-cli run -h 172.16.0.234 -p 8080 --celery-log-file logs/20230718.log
I found the file invenio_rdm_records/fixtures/data/vocabularies/resource_types.yaml had a area seems to add the translation. So I added chinese in it like below, but it didn't work after rerunning:
Expected behavior
The Resource Type can show chinese.
Screenshots (if applicable)
Additional context
The text was updated successfully, but these errors were encountered:
Package version (if known): 9.1.0
Describe the bug
I want to add a more language as default language in my site, like zh_CN; But when I change the invenio.cfg, the web page of upload new record show all 'resource type' as 'en', like below:
Steps to Reproduce
BABEL_DEFAULT_LOCALE = 'zh_CN'
I18N_LANGUAGES = [
('en', _('English'))
('de', _('German')),
('tr', _('Turkish')),
]
2. Rerun the invenioRDM:
invenio-cli run -h 172.16.0.234 -p 8080 --celery-log-file logs/20230718.log
invenio_rdm_records/fixtures/data/vocabularies/resource_types.yaml
had a area seems to add the translation. So I added chinese in it like below, but it didn't work after rerunning:Expected behavior
The Resource Type can show chinese.
Screenshots (if applicable)
Additional context
The text was updated successfully, but these errors were encountered: