Multi-language
Is the language switching seamless?
Keep the same page and state when switching language, and update html lang and the selected language correctly.
Why it matters
If switching the language sends people back to the top, they lose what they were reading. Moving to the same page in the other language is the natural behavior.
Staying on the same page reduces the effort for people who move between languages.
How to fix it
-
Change only the language, keeping the current path
-
Update html lang
-
Store the choice in a cookie or the URL
-
Reduce flicker during the switch
Prompt for an AI assistant
Copy the text below and paste it into an AI assistant.
You are the person improving this website. Check the item below and fix it if it applies to the site. Item: Is the language switching seamless? Summary: Keep the same page and state when switching language, and update html lang and the selected language correctly. Steps: 1. Change only the language, keeping the current path 2. Update html lang 3. Store the choice in a cookie or the URL 4. Reduce flicker during the switch References: - lang attribute (MDN) (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) - Declaring language in HTML (W3C) (https://www.w3.org/International/techniques/authoring-html) Constraints: - Keep the existing design and tone of voice. - Show the file or section you changed and the suggested final wording. - Do not decide ambiguous points alone; give options and a recommendation. - Do not change anything outside the listed item.
Checked by
-
audit
Pre-launch check (50 items)
References
-
lang attribute (MDN)
MDN (Mozilla) reference(Official)
-
Declaring language in HTML (W3C)
W3C specification(Official)
Check your site now
Enter a URL and find what is missing before launch, for free.
Run audit