On this page
- Key Takeaways
- Build a page-by-page comparison
- Compare switcher destinations and final pages
- Locale prefixes and paths
- Query parameters and fragments
- Define and test missing-translation behavior
- Check desktop, mobile, and assistive technology
- Check search annotations separately
- Common Mistakes
- Best Practices
- Conclusion
If a language switcher links to the wrong page, visitors can lose the product, article, or task they were viewing. Before publishing a localization, compare each switcher destination with the intended equivalent page—not just with a URL that looks plausible.
This workflow helps localization QA teams check translated destinations, redirects, URL details, fallbacks, and accessibility on desktop and mobile.
Key Takeaways
- Start with a list of equivalent pages across locales; translated pages do not necessarily share the same slug.
- Check both the switcher’s destination and the final page after navigation. A link can look correct but redirect elsewhere.
- Treat a homepage fallback as an explicit product decision, not an equivalent translation.
- Test query parameters and fragments for meaning, not just for identical text.
- Check the switcher with a keyboard and screen reader as well as with a pointer or touch.
- Language-switcher behavior and
hreflangannotations serve different purposes; review both separately.
Build a page-by-page comparison
Choose representative pages from the existing site and the new localization: a homepage, a product or service page, an article, and any important conversion or support page. Include pages with and without translations.
Create an inventory from the content team’s mapping or the CMS. Do not infer equivalents by replacing a locale prefix: translated slugs and site structures may differ.
For example, suppose a team is preparing French and Spanish versions of a product page:
| Check | Example URL or decision |
|---|---|
| English source | https://example.com/en/products/solar-lamp?color=blue#specifications |
| Intended French equivalent | https://example.com/fr/produits/lampe-solaire?color=blue#caracteristiques |
| Spanish translation | Not available |
| Spanish fallback policy | Send visitors to the Spanish product category and clearly indicate that the product page is unavailable in Spanish |
These are fictional URLs. The French slug and fragment are intentionally different from the English ones. The team must verify that color=blue selects the corresponding option and that the French fragment reaches the intended section.
If the French switcher instead opens https://example.com/fr/, it has lost the product context. Record it as a defect unless the product page is genuinely unavailable and a clearly communicated homepage fallback is the approved policy. Even then, it is a fallback, not an equivalent page.
Advertisement
Compare switcher destinations and final pages
For each source page and target language:
- Open the source page in the environment being reviewed. Record its URL, selected state, and relevant fragment.
- Open the language switcher and inspect the destination if the browser exposes a link address. Some switchers navigate through scripts, so the address alone may not reveal the final destination.
- Activate the target language. Record the final URL and check the actual page content and language. A successful page load alone does not establish equivalence.
- Compare the result with the inventory. Check the locale prefix, path, query string, and fragment separately.
- Switch back where possible. Check whether the user returns to the equivalent source page and whether meaningful state remains.
- Record the source URL, target language, expected destination, actual final URL, device, and reproduction steps for any defect.
A browser’s network panel can help identify server redirects and failed requests. Also watch for client-side navigation after the page loads. Test with the same consent, authentication, and language-preference conditions a visitor would encounter; these can change the route. Avoid putting customer data or credentials into shared QA records.
Locale prefixes and paths
Check that the destination uses the intended locale and page mapping. For instance, changing /en/products/solar-lamp to /fr/products/solar-lamp is not enough if the approved French page lives at /fr/produits/lampe-solaire. Conversely, different slugs do not by themselves indicate an error.
If a destination changes locale again after navigation, investigate redirects, saved language preferences, and caching. Repeat the check in a clean browser session as well as a session with an existing preference.
Query parameters and fragments
Decide which URL state should survive a language change:
- Product or task state: A
color=blueparameter may be worth preserving if the target page supports the same selection. Confirm the result on the page; copying the parameter is not proof that it works. - Search and filter state: A search term or filter may need translation, remapping, or removal. Define the intended behavior and check that the user is not left with misleading results.
- Tracking parameters: Decide whether campaign parameters should be retained under your analytics and privacy policies. Do not assume every parameter must be copied.
- Fragments:
#specificationsand#caracteristiquescan identify equivalent sections. Activate the switcher and confirm that the target page reaches the intended section; a translated page may use a different fragment or have no equivalent section. Fragments are handled by the browser and are not sent as part of the HTTP request.
If state cannot be preserved, make the behavior predictable and document it for QA. Do not carry sensitive or irrelevant parameters to another destination merely to make URLs match.
Define and test missing-translation behavior
A missing translation is not necessarily a broken switcher, but the fallback should be deliberate. Agree on the expected behavior for each type of missing page before testing:
| Policy | What to verify |
|---|---|
| Hide or disable the unavailable language | Visitors can understand that the page is unavailable; the control remains accessible and does not appear to promise a working destination. |
| Keep the visitor on the source-language page | The language change does not misleadingly imply that the page was translated. |
| Navigate to a related page in the target language | The destination is useful, and the interface explains that the exact page is unavailable. |
| Navigate to the target-language homepage | The loss of context is intentional and communicated; do not classify the homepage as the equivalent page. |
Check the policy for both unpublished and permanently unavailable content. Also test what happens if a translated URL exists in the inventory but returns an error, redirects to a generic page, or is inaccessible without a sign-in. Resolve those cases before treating the localization as ready.
Advertisement
Check desktop, mobile, and assistive technology
Repeat representative checks at desktop and mobile viewport sizes and, where possible, on actual devices. The switcher may be a visible header menu on desktop but nested inside a mobile navigation panel. Verify that it opens, remains usable, and navigates to the same intended destinations in both layouts.
For keyboard testing, use the keyboard alone to reach and operate the control. Confirm that focus is visible, that the menu can be opened and navigated, and that a user can activate a language and leave or close the menu without getting trapped. Verify the behavior appropriate to the control’s implementation rather than assuming every menu uses identical keys.
With a screen reader, check that the switcher and its language choices have understandable names, that the current language or selected state is communicated where applicable, and that opening or closing a menu is conveyed. After navigation, confirm that the page’s language is identified appropriately so assistive technology can interpret its content. Test a real screen reader and browser combination used by your audience; visual inspection alone cannot establish the experience.
Check search annotations separately
The language switcher is a navigation feature for people. hreflang annotations are a separate way to describe localized page relationships to search engines. A correct switcher does not prove that annotations are correct, and annotations do not repair a link that sends a visitor to the wrong page.
For the same page inventory, review whether the intended localized equivalents are represented consistently in your site’s annotations and whether the annotated URLs are the pages you intend search engines to consider. Review canonical and redirect behavior alongside those annotations, and investigate conflicts with the page mapping.
Google’s current documentation on localized versions and hreflang could not be consulted for this article. Before release, have the SEO owner check Google’s current guidance directly for the implementation method, requirements, and any applicable exceptions. Do not treat a switcher QA pass as an SEO annotation audit.
Common Mistakes
- Testing only homepages: A switcher may work there while losing context on product and article pages.
- Checking only the link address: Redirects or scripts can change the final destination.
- Assuming matching slugs: Localization may change paths, fragments, and page structure.
- Treating a fallback as a translation: A valid page in the target language is not necessarily the equivalent page.
- Copying every query parameter: Some state needs mapping, removal, or a privacy review.
- Skipping mobile or non-pointer interaction: A correct destination is still hard to use if the switcher cannot be operated reliably.
Best Practices
Maintain the equivalence and fallback inventory alongside the localization release plan. Assign an owner to resolve missing mappings, capture representative test conditions, and rerun checks after changes to routing, translated slugs, or the switcher. Include both directions of navigation for important pages and keep accessibility and SEO annotation reviews as distinct release checks.
Conclusion
Compare language-switcher destinations against an approved page mapping, then verify the final page and its preserved state. An explicit fallback policy and separate accessibility and search-annotation checks make the review more reliable than checking locale prefixes alone.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.