Skip to content

Include paragonMessages in MFE initialization #340

@adamstankiewicz

Description

@adamstankiewicz

@edx/paragon was recently upgraded to v20 in this MFE. v20 added a dependency on react-intl due to Paragon now shipping with already-translated English messages for its components.

Per the release notes, Paragon v20 now exposes a paragonMessages array containing the native translations for Paragon components but the paragonMessages are not yet passed to @edx/frontend-platform via the initialize function for this MFE.

Looks like importing and re-exporting paragonMessages in src/i18n/index.js(source) would do the trick 😃

### Tasks
- [ ] Ensure `paragonMessages` gets passed to the `initialization` so the hardcoded English strings throughout Paragon components use translations instead.
- [ ] Ensure Paragon is added to atlas pull (see comments)

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

In Progress

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions