On this page
A language-specific URL can look correct in a campaign brief but lead visitors to the wrong language after a redirect, browser preference check, or cached response. This workflow helps content and QA teams test the destination and the page visitors actually see before launch.
The examples use fictional .test URLs. Replace them with authorized staging URLs and agree on the expected behavior with the site team before testing.
Key Takeaways
- Test direct language URLs, switcher links, redirects, and browser-language selection as separate journeys.
- Compare URLs for path and query differences, then verify the final destination and rendered content in a browser.
- Repeat language-selection tests with different browser preferences and cache states; a single successful visit is not enough.
- Define what should happen when a translation is missing, including the language shown and whether the visitor is informed.
Define the expected journeys
Before testing, make a list of campaign entry URLs and their intended destinations. Record the expected language, page title, visible calls to action, and any query parameters that must survive the journey. Include links from emails, ads, landing pages, and the site's language switcher.
For the examples below, assume the site team has agreed that /en/ serves English and /fr/ serves French. Treat these as test expectations, not rules that apply to every site. Also record whether changing languages should retain the equivalent page, return visitors to a language homepage, or follow another documented fallback.
Ask the development team whether the site chooses a language using the URL, browser preferences such as Accept-Language, a saved cookie, geographic location, or a combination. Record which input should take precedence. If geographic selection is involved, include an authorized test from each relevant region; changing browser language alone does not simulate location.
Advertisement
Build a test matrix for multilingual website URLs
Run the matrix for each campaign landing page and supported language, not just the homepage. Use the expected behavior agreed with your team to fill in the final column before execution.
| Case | Starting point and variation | Check |
|---|---|---|
| Direct language URL | Open /fr/campaign in a fresh browser session | Final URL, rendered language, and whether a saved preference or browser setting changes it. |
| Language switcher | From /en/campaign, select French | Link destination, final URL, equivalent page, and the switcher's selected language. Repeat in the other direction. |
| Campaign query | Open /fr/campaign?utm_source=email and switch languages | Whether the intended destination is reached and required campaign parameters remain as specified. |
| Redirect | Open an old or shortened campaign URL | Every redirect hop, status and destination, final URL, and final language. Check for loops or unexpected cross-language hops. |
| Browser preference | Open a language-neutral entry URL with French preferred, then English preferred | Actual request language preference, final destination, rendered language, and any saved preference that could override the test. |
| Missing translation | Open or switch to a page without a French equivalent | The agreed fallback destination and language, plus any message explaining the fallback. Check that it does not silently claim to be a French translation. |
| Cache variation | Repeat the same language-neutral URL with different preferences in separate sessions | Whether each response matches the agreed selection behavior when caches are cold and warm. |
| Browser variation | Repeat key journeys in the campaign's supported browsers and devices | Differences in destination, language, switcher behavior, and layout or text rendering. |
Add cases for regional variants, such as French for France versus French for Canada, if the campaign supports them. A page in the right broad language can still have the wrong regional terminology, currency, legal copy, or offer.
Compare URLs, then inspect the page
URL Diff can help reviewers compare two addresses before opening them. For example, compare:
https://example.test/en/campaign?utm_source=emailhttps://example.test/fr/campaign?utm_source=email
The meaningful path difference is /en/ versus /fr/; the campaign parameter is the same. Now compare the French URL above with https://example.test/fr/campaign?utm_source=social. The path is unchanged, but the utm_source value differs. Determine whether that difference is intentional rather than assuming either URL is wrong.
Use the comparison to identify differences to investigate, not to approve the page. A URL cannot show whether the translation is complete, whether the correct offer appears, or whether a redirect changes the eventual destination. Open each URL, follow the journey, and review the rendered content with a qualified language reviewer. Avoid putting credentials, personal information, or private campaign tokens into an online comparison tool.
Check redirects and browser-language selection
For each test, use the browser's network developer tools to record the initial request, redirect responses, Location destinations, and final request. Enable the option to preserve the network log across navigation if your browser provides it. A final address in the address bar alone does not reveal the redirect chain.
For preference-based selection:
- Start with a fresh browser profile or private session, and note any existing site preferences. Clear site data only where doing so is safe and authorized.
- Set the intended preferred language in the browser or device settings. Open the neutral entry URL and inspect the actual
Accept-Languagerequest header; settings and headers do not always match your assumptions. - Record the final URL and displayed language. Repeat with another preferred language in a separate fresh session.
- Test the switcher after the initial selection. Then revisit the neutral URL to see whether an intentional saved preference changes the result.
- Test an explicit language URL with a conflicting browser preference. Verify that the result matches the team's documented precedence rules.
Use actual supported browser and device combinations where possible. If browser settings are controlled by the operating system, document that setup so another tester can reproduce it.
Advertisement
Repeat with browser and shared caches in mind
A correct response in one session does not prove that another visitor will receive the right variant. Browser caches, service workers, and shared caches such as a CDN can affect what is returned.
Coordinate with the development or operations team to run this check in an authorized test environment:
- Choose one neutral URL whose response is expected to vary by browser language. Record its exact URL and request headers.
- Request it with one language preference, then repeat with another preference in a separate session. Record the response language, redirect chain, and relevant response headers each time.
- Repeat after the first request has had a chance to populate any applicable cache. Check available cache-status headers or CDN logs with the operations team; a repeated request alone does not prove a shared-cache hit.
- Inspect browser-cache and service-worker behavior separately from the CDN. Developer tools may offer cache disabling or service-worker bypass for diagnosis; record which settings you used.
- If results differ unexpectedly, provide the request and response details to the team responsible for the cache. Do not purge a production cache without authorization.
When a cache stores different responses for the same URL, its cache key and the response's Vary header are relevant to which response can be reused. For example, if selection depends on Accept-Language, the team should check that the shared-cache configuration and HTTP response behavior account for that variation. Cookies, redirects, CDN settings, and other selection inputs also need review; inspecting Vary alone does not prove the entire setup is correct.
Handle missing translations explicitly
For every campaign page without an equivalent translation, agree on the expected fallback before testing. Depending on the site's policy, that might be a message explaining the unavailable translation, a clearly identified source-language page, or a relevant language homepage. Check that links do not lead to an error, an unrelated promotion, or a page presented as translated when it is not.
Have reviewers check more than headings: navigation, form labels, error messages, accessibility text, pricing, legal copy, and campaign calls to action can remain in the wrong language even when the main text is translated.
Common Mistakes
- Testing only the homepage. A campaign deep link can have different routing or missing content.
- Checking only the URL. A
/fr/path does not guarantee French content or a correct regional offer. - Reusing one browser session for every case. Cookies, cached responses, and service workers can conceal first-visit behavior.
- Assuming a query change is harmless. Confirm which parameters must be retained, changed, or removed for each journey.
- Treating a cache header as a complete diagnosis. Correlate response headers with the actual request, cache configuration, and available logs.
Best Practices
Keep a shared results sheet with the starting URL, browser and device, preference settings, session state, redirect chain, final URL, visible language, cache evidence, and pass or fail against the agreed expectation. Include screenshots where they help a language reviewer identify the issue, while avoiding sensitive information.
Prioritize the URLs visitors will actually receive, then retest corrected cases in the same conditions and at least one fresh session. Before publication, the site team should verify current Google international-site guidance and relevant HTTP caching documentation. Those sources were not available for consultation in this run, so this workflow does not claim to confirm their current recommendations.
Conclusion
Compare language URLs to find suspicious path and query changes, then test the complete visitor journey across browser preferences and cache states. Approve the campaign only after the destination, fallback behavior, and localized content match the expectations your team documented.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.