-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: add i18n_js_namespace to support atlas - FC-0012 #81
feat: add i18n_js_namespace to support atlas - FC-0012 #81
Conversation
Thanks for the pull request, @shadinaif! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
ad2c726
to
19ae294
Compare
@OmarIthawi please review |
19ae294
to
f8a1d61
Compare
@property | ||
def i18n_service(self): | ||
""" Obtains translation service """ | ||
i18n_service = self.runtime.service(self, "i18n") | ||
if i18n_service: | ||
return i18n_service | ||
else: | ||
return DummyTranslationService() |
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.
I'd love to know the goal of adding this function? Do we really need a DummyTranslationService
?
If it's a copy from the LTI Consumer XBlock, I'm afraid we should remove it.
@shadinaif please mark as draft. |
Closing to be merged with #77 |
@shadinaif Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
Implement OEP-58 JavaScript translations
Details:
atlas pull
for the edx-platform and its plugins FC-0012 edx-platform#33166atlas pull
for XBlock translations | FC-0012 edx-platform#33698Testing
Local tutor 17.0.2
References
This pull request is part of the FC-0012 project which implements the Translation Infrastructure update OEP-58.