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

temp: manually pull_translations with atlas #2

Closed
wants to merge 1 commit into from

Conversation

OmarIthawi
Copy link

@OmarIthawi OmarIthawi commented Mar 30, 2023

This pull request is the result of running OPENEDX_ATLAS_PULL=true make pull_translations.

Please checkout the parent PR below:

The output tree:

frontend-app-learning $ tree src/i18n/
src/i18n/
├── index.js
└── messages
    ├── frontend-app-learning
    │   ├── ar.json
    │   ├── de.json
    │   ├── es_419.json
    │   ├── fr_CA.json
    │   ├── index.js
    │   ├── ru.json
    │   ├── uk.json
    │   └── zh_CN.json
    ├── frontend-component-footer
    │   ├── ar.json
    │   ├── de_DE.json
    │   ├── de.json
    │   ├── es_419.json
    │   ├── fr_CA.json
    │   ├── fr.json
    │   ├── hi.json
    │   ├── it_IT.json
    │   ├── it.json
    │   ├── pt.json
    │   ├── pt_PT.json
    │   ├── ru.json
    │   ├── uk.json
    │   └── zh_CN.json
    └── frontend-component-header

Sample src/i18n/index.js

// This file is generated by the Open edX frontend-platform's i18n-imports commands.
//

import messages1frontendcomponentheader from './messages/frontend-component-header';
// footer is omitted due to not having translations
import messages2frontendapplearning from './messages/frontend-app-learning';

export default [
  messages1frontendcomponentheader,
  messages2frontendapplearning,
];

References

This pull request is part of the FC-0012 project which is sparked by the Translation Infrastructure update OEP-58.

References
----------

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant