Skip to content
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: include paragon in atlas pull #538

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

OmarIthawi
Copy link
Member

@OmarIthawi OmarIthawi commented Jul 23, 2023

This is a follow up to #530 because it should have included the changes but apparently OEP-58 needs more publicity.

Testing

I've ran the following:

$ OPENEDX_ATLAS_PULL=yes make pull_translations
$ cat src/i18n/index.js

Generates the following code, which seems to be good:

// This file is generated by the openedx/frontend-platform's "intl-import.js" script.
//
// Refer to the i18n documents in https://docs.openedx.org/en/latest/developers/references/i18n.html to update
// the file and use the Micro-frontend i18n pattern in new repositories.
//

import messagesFromParagon from './messages/paragon';
import messagesFromFrontendComponentFooter from './messages/frontend-component-footer';
import messagesFromFrontendAppCourseAuthoring from './messages/frontend-app-course-authoring';

export default [
  messagesFromParagon,
  messagesFromFrontendComponentFooter,
  messagesFromFrontendAppCourseAuthoring,
];

References

This pull request 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 rearchitected in Open edX Python, XBlock, Micro-frontend, and other projects. There are a number of immediately visible changes:

  • Remove source and language translations from the repositories, hence no .json, .po or .mo files will be committed into the repos.
  • Add standardized make extract_translations in all repositories
  • Push user-facing messages strings into openedx/openedx-translations.
  • Integrate root repositories with openedx/openedx-atlas to pull translations on build/deploy time

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Jul 23, 2023
@openedx-webhooks
Copy link

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:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

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.

@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (da1e7a0) 78.17% compared to head (a6c4b7a) 78.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #538   +/-   ##
=======================================
  Coverage   78.17%   78.17%           
=======================================
  Files         144      144           
  Lines        2662     2662           
  Branches      622      622           
=======================================
  Hits         2081     2081           
  Misses        551      551           
  Partials       30       30           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@brian-smith-tcril
Copy link
Contributor

@jristau1984 the OEP-58 spreadsheet has you listed as someone to inform before merging on this repo. I'll merge this tomorrow morning if there aren't any objections.

@brian-smith-tcril brian-smith-tcril merged commit 8bfc3f2 into openedx:master Jul 25, 2023
@openedx-webhooks
Copy link

@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.

PKulkoRaccoonGang pushed a commit to raccoongang/frontend-app-course-authoring that referenced this pull request Jul 31, 2023
wowkalucky pushed a commit to raccoongang/frontend-app-course-authoring that referenced this pull request Aug 1, 2023
* chore: add paragon messages (openedx#530)

* chore: add paragon messages (openedx#530) (openedx#534)

Co-authored-by: Mashal Malik <[email protected]>

* feat: make placeholder depend on api response

* feat: include paragon in atlas pull (openedx#538)

This pull request is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).

* fix: ui bugs (openedx#542)

---------

Co-authored-by: Mashal Malik <[email protected]>
Co-authored-by: sundasnoreen12 <[email protected]>
Co-authored-by: Omar Al-Ithawi <[email protected]>
Co-authored-by: Kristin Aoki <[email protected]>
vladislavkeblysh pushed a commit to raccoongang/frontend-app-course-authoring that referenced this pull request Aug 2, 2023
* chore: add paragon messages (openedx#530)

* chore: add paragon messages (openedx#530) (openedx#534)

Co-authored-by: Mashal Malik <[email protected]>

* feat: make placeholder depend on api response

* feat: include paragon in atlas pull (openedx#538)

This pull request is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).

* fix: ui bugs (openedx#542)

---------

Co-authored-by: Mashal Malik <[email protected]>
Co-authored-by: sundasnoreen12 <[email protected]>
Co-authored-by: Omar Al-Ithawi <[email protected]>
Co-authored-by: Kristin Aoki <[email protected]>
snglth pushed a commit to Abstract-Tech/community-theme-course-authoring that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants