You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when consuming the exported paragonMessages from @openedx/paragon in a React micro-frontend powered by @edx/frontend-platform, several i18n warnings are seen:
The locale messages passed from Paragon to @edx/frontend-platform in the Open edX micro-frontends ideally would only include locales that are officially supported (see list of [supportedLocales](https://github.com/openedx/frontend-platform/blob/5cf7cda8280d264785c46e75f1cbef98e0a1b9aa/src/i18n/lib.js#L38C7-L55).
Note: The several other "Unexpected locales" listed that are not related to Paragon as well, in use across many Open edX MFEs but not supported by @edx/frontend-platform. For example, @edx/frontend-component-footer seems to the culprit, exporting locales not officially supported by `@edx/frontend-platform.
The text was updated successfully, but these errors were encountered:
adamstankiewicz
changed the title
"Unsupported locales" warnings in @edx/frontend-platform due to locales returned by Paragon
"Unsupported locale" warnings in @edx/frontend-platform due to locales returned by Paragon
Feb 23, 2024
adamstankiewicz
changed the title
"Unsupported locale" warnings in @edx/frontend-platform due to locales returned by Paragon
"Unsupported locale" warnings from @edx/frontend-platform in MFEs due to locales returned by Paragon
Feb 23, 2024
Bugs
Currently, Paragon supports following locales (source):
However, when consuming the exported
paragonMessages
from@openedx/paragon
in a React micro-frontend powered by@edx/frontend-platform
, several i18n warnings are seen:The locale messages passed from Paragon to
@edx/frontend-platform
in the Open edX micro-frontends ideally would only include locales that are officially supported (see list of[supportedLocales](https://github.com/openedx/frontend-platform/blob/5cf7cda8280d264785c46e75f1cbef98e0a1b9aa/src/i18n/lib.js#L38C7-L55)
.Note: The several other "Unexpected locales" listed that are not related to Paragon as well, in use across many Open edX MFEs but not supported by
@edx/frontend-platform
. For example,@edx/frontend-component-footer
seems to the culprit, exporting locales not officially supported by `@edx/frontend-platform.The text was updated successfully, but these errors were encountered: