Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Language selector resets to default on navigation: how to fix it

PRF-251Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A visitor switches your site from, say, English to German. The page changes. They click a menu link, a product or a button, and the next page is back in English. The selector did its job once, but the choice was not carried forward.

Common causes: menu and button links hard-coded to the default-language URL, the language kept only in a session or a cookie that is blocked or not read, a redirect that drops the language folder (such as /de/), a cache serving the same page to every language, and checkout or form pages that are not translated.

Why it costs you leads or sales

People chose a language because they read it more comfortably. Being thrown back to another language forces them to choose again or leave. It hurts most in the middle of a funnel: a visitor reads a German landing page, clicks the CTA, and lands on an English form or checkout.

It can also split your reporting. Pages in the wrong language get different traffic and conversion numbers, and ad landing pages in a given language may send visitors into the wrong one.

Where the language is lost
  1. German landing pageVisitor selects DE
  2. Click CTA or menu linkLink points to /pricing, not /de/pricing
  3. English pageDefault language shown
  4. English form or checkoutVisitor may leave

The visitor picks German, then a link points to the default-language URL.

Visitors who finish the form, by language keptExample numbers
Visitors who finish the form, by language kept (example)Language kept: 8 %; Language reset to default: 4 %03684Language keptLanguage reset to def…%

Example: illustrative numbers only, showing how a language reset can lower form completion for visitors who chose a non-default language.

How to check if your site has it

Manual test in 5 minutes
  1. Open a fresh private window

    This removes old cookies. Visit your home page.

  2. Switch to a non-default language

    Use the selector, and note the URL (for example /de/ or ?lang=de).

  3. Click through the funnel

    Use the menu, a product or service page, the main CTA, the form and the checkout or booking step. Note any page that changes language.

  4. Test the back button and a reload

    Go back, reload, and open a link in a new tab. The language should stay.

  5. Repeat on mobile and with cookies blocked

    If the language only survives with cookies, you depend on them. Check that translated URLs work without cookies.

How to fix it

The most reliable approach is a language in the URL (a subfolder like /de/, a subdomain or a domain). Every internal link then carries the language by itself and does not need a cookie. The steps differ by platform.

Fix by platform
  1. Use a language-in-URL setting

    In your multilingual plugin (WPML, Polylang, TranslatePress, Weglot), choose a directory or subdomain format rather than a cookie or parameter only.

  2. Translate menus and CTAs

    Assign a menu per language and edit buttons so they link to the translated page, not the default one.

  3. Exclude language from page-cache mix-ups

    In your cache plugin, make sure the cache varies by language URL or cookie, and purge the cache after changes.

If you set a language cookie, make it last longer than the session and scoped to the whole site. Example in JavaScript:

Remember the chosen language for a yearjavascript
function setLang(lang) {
  document.cookie = 'lang=' + lang + '; path=/; max-age=31536000; SameSite=Lax';
  window.location.href = '/' + lang + window.location.pathname.replace(/^\/(en|de|fr)(\/|$)/, '/');
}
Redirect that keeps the language foldernginx
location ~ ^/(de|fr)/old-page/?$ {
    return 301 /$1/new-page/;
}

How to confirm it's fixed

Confirmation checklist
  • In a private window, the chosen language stays across menu, CTA, form and thank-you pages
  • Back button, reload and new-tab links keep the language
  • Language still holds with cookies blocked, because the URL carries it
  • Form confirmation emails and thank-you pages are in the same language
  • Checkout or booking step is translated or clearly flagged
  • Ad landing pages open in the language the ad targets
Language behaviour

Before

  • Links point to default-language URLs
  • Language lives only in a session
  • Redirects drop /de/

After

  • Links built from the current language
  • Language is in the URL and in a long-lived cookie
  • Redirects keep the language folder

How to prevent it happening again

Prevention habits
  • Add a language walk-through to your release checklist for every theme, plugin or redirect change
  • Create new pages in every language before linking to them
  • Use relative or locale-aware links, never hard-coded default URLs
  • Purge caches after language or menu changes
  • Re-test after changing translation plugins or the checkout

How FunnelGuard handles this

FunnelGuard does not check for this yet. A language-reset check is a possible future addition, but today it is not something the service tests.

What FunnelGuard does do nearby: a robot visitor runs your real customer journeys on a schedule, checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a language problem breaks a step, for example a button that no longer leads to the form, that failing step can show up in the journey. It will not tell you the page changed language.

To watch for it yourself, repeat the manual test above after every release, and set up a separate journey per language so each one is checked end to end. The Free plan includes 1 site and 2 journeys with daily checks and no card, and a free read-only website audit is available.

How a reset typically goes unnoticed
  1. Day 1

    A new menu is added with default-language links.

  2. Day 3

    Non-default visitors begin landing on English pages.

  3. Week 2

    Conversion in that language looks low, but no one sees why.

  4. Week 3

    A manual language walk-through finds the links and fixes them.

Questions people ask

Why does my website language change back to English when I click a link?

The link usually points to the default-language URL, or the language was stored only in a session or cookie that is not read on the next page. Fix the links so they include the language (for example /de/) and keep that language in redirects.

How do I make a language selector remember the choice?

Put the language in the URL so each page carries it, and also set a long-lived cookie (path=/, max-age of months) to remember it on return visits. Do not rely on a session cookie alone.

Why does the language switcher work on the home page but not on other pages?

Inner pages are often untranslated or linked from menus and buttons that use default-language URLs. Translate the pages and build their links from the current language.

Can caching cause the language to reset?

Yes. If a page cache serves one stored version to everyone, visitors may get the default language even after choosing another. Make the cache vary by the language URL or cookie, and purge it after changes.

Does a language reset hurt SEO?

It can. Language versions should have their own URLs, ideally linked with hreflang tags. Forcing visitors or crawlers to the default language with redirects makes the other versions harder to find.

Why is my checkout in the wrong language after I picked another?

The checkout may not be translated, or the language value is not passed to it. On Shopify, publish the language in Settings > Languages and use the theme's localization form so the choice carries through.

Does FunnelGuard detect a language selector reset?

No, not yet. It is a possible future check. FunnelGuard runs your journeys and checks steps, tracking and lead delivery, so a broken step may show, but it does not report language changes.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.