-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
doc: design for atlas pull
for the edx-platform and its plugins FC-0012
#33166
Conversation
Thanks for the pull request, @OmarIthawi! 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. |
da52efa
to
fbd4a2f
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.
Thank you so much for putting this together! I did a big review pass on the documentation. Overall it's looking really great! All of my suggestions are just suggestions. Hopefully some of them will make this clearer for people unfamiliar to OEP-58!
- Connect the `openedx-translations repo`_ to the | ||
`openedx-translations project`_ |
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.
It's not clear from this what the openedx-translations
project is/that it is on Transifex.
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.
done
to openedx Organization | ||
- Connect the `openedx-translations repo`_ to the | ||
`openedx-translations project`_ | ||
- Copy Transifex's Translation Memory and Combine Translators |
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.
Couple things here:
- It's probably worth linking to Transifex docs for people unfamiliar with these terms
- It's not clear where things are being copied from and where they are being copied to
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.
done
@OmarIthawi it looks like this has a couple of pycodestyle errors https://github.com/openedx/edx-platform/actions/runs/6171614902/job/16750213428?pr=33166 and commits that don't pass the linter. I think it should be good to go once those get cleaned up and all the checks pass. |
662fa89
to
6b4dd34
Compare
I've fixed the commit lint PRs and moved all the code into another PR: This should be ready for review. |
@OmarIthawi commitlint still failed, looks like you used |
6b4dd34
to
b179652
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.
Thank you so much for getting this all written up! I left a couple small grammar nits/wording suggestions, but assuming those are addressed this LGTM!
b5a6dcc
to
2eef4e9
Compare
Status | ||
====== | ||
|
||
Accepted |
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.
right?
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 believe so, yes.
6d5661d
to
655f43d
Compare
atlas pull
for the edx-platform and its pluginsatlas pull
for the edx-platform and its plugins FC-0012
@jmbowman would you mind checking this design decision? |
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.
This looks reasonable to me, and I'd like to see it go ahead so we can iron out the specifics. I think the only thing I'm concerned about is how operators (like edx.org) are supposed to handle plugins that are not installed by default, but maybe that will become clearer as it's implemented.
Thanks @dianakhuang.
The design is mostly concerned about the plugins which aren't installed by default. Embdedded plugins like the Discussion XBlock/XModule and the video XBlock has been and will be treated similar to native Open edX code like courseware and student modules. Most of the design here is focused on both external plugins such as Drag and Drop XBlock, LTI Consumer XBlock, Scorm XBlock. The design is intended to be indfifferent to the method of installation such as:
I'm sure there's a blind spot somewhere, therefore backward compatibility will be maintained to avoid imposing a sudden change on operators. |
Do you need someone from our team to merge this? |
That would be great @rgraber! I don't have merge access to this repository. |
655f43d
to
5cef8e7
Compare
@brian-smith-tcril if this is mergeable, would you mind merging it? |
@OmarIthawi 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
Atlas integration proposal
This is a design document which include a couple of decisions related to the
XBlockI18nService
and the way translations are going to be refactored using theopenedx-atlas
new pull command.Please review the decision document in this pull request by checking the file tab or using the updated preview from the branch:
TODO
Deadline
The deadline for this design is September 22nd due in order to meet the overall deadline for the FC-0012 project.
References
This contribution is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.
Up-to-date project overview and details are available in the Approach Memo and Technical Discovery: Translations Infrastructure Implementation document.
Join the conversation on Open edX Slack #translations-project-fc-0012.
Check the links above for full information about the overall project.
Internalization is being re-architected in Open edX Python, XBlock, Micro-frontend, and other projects. There are a number of immediately visible changes:
.json
,.po
or.mo
files will be committed into the repos.make extract_translations
in all repositoriesBreaking Changes
One of the primary goals of the project is to avoid breaking changes. If you noticed any suspicious code, please raise your concern. But before that, please know the strategy we're following to avoid breaking changes:
For XBlocks, plugins and the edX Platform:
conf/locale
. Therefore, we are creating a link fromconf/locale
totranslations
so Atlas can find the path without disrupting the current way of having translations locally within the XBlocks.atlas
and non-atlas method of pulling translations in the edX Platform.