-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translations: add translations API #997
Conversation
90f11d1
to
1480cbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, explain why this commit it useful, not only what it does. Thanks.
@@ -82,7 +82,8 @@ def run(self): | |||
'rero-ils = rero_ils.modules.ext:REROILSAPP' | |||
], | |||
'invenio_base.api_apps': [ | |||
'rero-ils = rero_ils.modules.ext:REROILSAPP' | |||
'rero-ils = rero_ils.modules.ext:REROILSAPP', | |||
'invenio_i18n = invenio_i18n:InvenioI18N' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't listen to me ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No sorry.
* Adds a new HTTP endpoint to expose the python po based translations in JSON in order to use theses translations in single app application instead of duplicating the translations in several projects. * Fixes spelling in comment. * Exposes `invenio-i18n` to the uwsgi backend application. * Fixes tests with the `invenio-i18n` enabled for the backend application. * Removes useless template filters and their tests. Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
in JSON in order to use theses translations in single app application
instead of duplicates the translations in several projects.
invenio-i18n
to the uwsgi API.invenio-i18n
enabled for the API.Co-Authored-by: Johnny Mariéthoz Johnny.Mariethoz@rero.ch
Why are you opening this PR?
Dependencies
My PR depends on the following
rero-ils-ui
's PR(s):How to test?
Code review check list