and this affects tasks that depend on the browser language, such as automatic translation. How can this be fixed?
Problem:
When you change the website language (e.g., through the account page), the lang attribute in the HTML doesn’t change accordingly. Logically, this is incorrect, and it also affects language-dependent tasks, such as automatic translation extensions.
There are many MFEs so I don’t know how to effectively fix them.
I hope the front-end development team can look into this issue.
It is the first time I notice this, and it affects the language of our CookieYes banner
The auto-translation works based on the lang attributes in the tag. In case your website does not have a lang attribute, you can manually assign the language by following the steps below.
I never noticed this before, but it’s possible it has been there for a while.