We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When loading MFE using a language different than en-us. Eg: change the preferred language on the account MFE.
When we reload any MFE page, the lang html attribute didn't change even the application is translated to that new different language.
I think the MFEs should change the html lang attribute when it has been loaded with different language.
<html lang="en-us" dir="ltr">
Suggested change:
I think that the i18n configure function should change that value.
frontend-platform/src/i18n/lib.js
Line 262 in 07ee86c
Create a similar Should have a handleHTMLLang similar to handleRtl function, with code:
handleHTMLLang
handleRtl
globalThis.document.getElementsByTagName('html')[0].setAttribute('lang', getLocale());
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When loading MFE using a language different than en-us. Eg: change the preferred language on the account MFE.
When we reload any MFE page, the lang html attribute didn't change even the application is translated to that new different language.
I think the MFEs should change the html lang attribute when it has been loaded with different language.
Suggested change:
I think that the i18n configure function should change that value.
frontend-platform/src/i18n/lib.js
Line 262 in 07ee86c
Create a similar Should have a
handleHTMLLang
similar tohandleRtl
function, with code:The text was updated successfully, but these errors were encountered: