-
Notifications
You must be signed in to change notification settings - Fork 7
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: make extract_translations to use i18n_tool #613
feat: make extract_translations to use i18n_tool #613
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. |
@e0d would you mind running tests for this one? It's for FC-0012. |
Tests run
…On Thu, Apr 20, 2023, 4:44 PM Michelle Philbrick ***@***.***> wrote:
@e0d <https://github.com/e0d> would you mind running tests for this one?
It's for FC-0012.
—
Reply to this email directly, view it on GitHub
<#613 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJWEAQBMV3VY4JQOFRVGTDXCGN4HANCNFSM6AAAAAAXFUKOYE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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.
@shadinaif I was assuming that this repo only needed a symlink (ln -s
) for the conf/locale
directory.
I'm not sure if Makefile
needs to be updated at all.
7128fe0
to
a5166cb
Compare
I've reverted Thank you for So, I believe now we have four options:
Sorry if I made it looks like a mess, but I'm sure it's not |
@shadinaif I'm not sure if that's a requirement. Nothing in the OEP-58 document says that. The requirements I'm aware of is to have
I think it's just that. In my opinion, depending on the context, we can use either Let's confirm with others first. |
@shadinaif this PR is still marked as draft, let us know when it is ready to review. |
Note: I'll be working on this tomorrow |
a5166cb
to
4ff76ee
Compare
This PR needs openedx/credentials-themes#613 before it's merged. Refs: FC-0012 OEP-58
This PR needs openedx/credentials-themes#613 before it's merged. Refs: FC-0012 OEP-58
This PR needs openedx/credentials-themes#613 before it's merged. Refs: FC-0012 OEP-58
This PR needs openedx/credentials-themes#613 before it's merged. Refs: FC-0012 OEP-58
@OmarIthawi @brian-smith-tcril please review. Also, I didn't test it on devstack because I think it'll consume a lot of time. We actually didn't change anything significant in the repo. Or must I? |
@e0d @hurtstotouchfire this part of FC-0012 as in the description. please review. Also, I didn't test it on devstack because I think it'll consume a lot of time. We actually didn't change anything significant in the repo. Or must I? |
As far as I know, all PRs should be tested before merging. It takes time, but testing is part of the FC-0012 project. |
4ff76ee
to
5122171
Compare
@shadinaif the PR description still shows you haven't tested this. Is that accurate and this still needs testing, or is that inaccurate and this is ready for review? |
65d01dd
to
267c6b2
Compare
@hurtstotouchfire we've been asked to inform you about the change to this repository. Please check this pull request and let us know if you have any questions. |
This PR needs openedx/credentials-themes#613 before it's merged. Refs: FC-0012 OEP-58
267c6b2
to
5e1f3c7
Compare
@brian-smith-tcril @hurtstotouchfire Would you mind reviewing this and merging it? We're aiming to make a backward-compatible pull request. |
Tests run |
@mphilbrick211 @e0d another test run for this FC-0012 pull request please. |
5e1f3c7
to
f29dfa6
Compare
I've rebased on master, please run tests, and maybe merge @mphilbrick211 @e0d cc: @OmarIthawi |
Thanks Shadi. @mphilbrick211 is it possible to enable me and/or other Core Contributors to approve workflow runs? |
f29dfa6
to
52b31fa
Compare
@e0d @brian-smith-tcril @hurtstotouchfire please approve the GitHub Actions workflow and kindly review and merge the PR. It's a been a while since this PR has been opened. |
52b31fa
to
bffc42a
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.
LGTM. Thanks @shadinaif!
Hi all, I was under the impression that we would just be informed, and that we had no blocking role, so we have not been following closely. @e0d / @brian-smith-tcril Do you want us to handle this? From my perspective you were good to merge this on your own whenever you want. |
I've completed my review of this. @hurtstotouchfire I'm pinging you since you're listed as "please inform" on the spreadsheet. I plan on merging this by EOD today. If you have any objections please let me know. Thanks! |
Thanks @hurtstotouchfire and @brian-smith-tcril for triaging this. It's only been practically ready for merge two weeks ago, before that it's been blocked by other work on Thanks again!! |
@shadinaif it looks like this needs another rebase before it can be merged. As soon as it's up to date with the base branch I'll merge it. |
Refs: FC-0012 OEP-58
bffc42a
to
c11cf67
Compare
@shadinaif 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
This PR needs openedx/credentials-themes#613 before it's merged. Refs: FC-0012 OEP-58
feat: make extract_translations to use i18n_tool
This PR prepares the repository to comply with openedx-translations by doing the following:
locale
toconf/locale
directory. This is the default used one in openedx-translationslocale
toconf/locale
for backward compatibilityi18_tool extract
to extract transactionsAvoid using...i18_tool validate
that requires po files metadata to be filled. This is because we'll not be using these metadata anymore when we completely move to OEP-58edx-i18n-tools>=1.3.0
fixes the issueReferences
This pull request is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.
Check the links above for full information about the overall project.
Internalization is being rearchitected 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:
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