leaktestbrowser

Entry 06 of 17

Language and region — a preference that outranks geography

A locale leak is your browser announcing a language list with region subtags that disagree with the country your connection appears to come from — `navigator.languages` to script, `Accept-Language` to the network, both derived from settings a tunnel does not touch. The failure worth knowing about is not the mismatch itself but the partial spoof, where one of those two is rewritten and the other is not.

How does a site read your language and region?

`navigator.languages` is an ordered list of preferences, and most entries carry a region subtag. That subtag is a claim about where you are, made by your browser, without your involvement.

The list is set from the operating system and the browser's own language settings, and it is exposed in two places at once: to page script as navigator.languages, and to the network as the Accept-Language request header. Those two are supposed to agree. A client-side spoofer that rewrites the JavaScript property and not the header creates a disagreement that any server can see without running a line of script.

The order matters as much as the contents. en-GB, en, nl is a different statement from nl-NL, nl, en, and the ordering plus the region subtags is frequently enough to narrow a visitor to a small population before any other signal is considered.

On this form the declared side is the language list and the regions parsed out of it. The found side is the country the edge attached to your request. A mismatch is pulled aside — and, as with the zone, it is an ordinary condition for expatriates and travellers. It becomes interesting in combination, which is exactly why the probe behind this site also carries a dedicated timezone-against-locale contradiction rule.

What your language list narrows you to

  • Your preferred languages, in order, with region subtags.
  • Whether your JavaScript-visible language list matches the header your browser actually sent.
  • Whether either agrees with the region your connection implies.

Does a VPN change the language a site sees?

A tunnel changes the address on your request and nothing about the preferences your browser attaches to it. Accept-Language is generated from your settings and sent with every request through the tunnel, unchanged, exactly as it would have been sent without one.

There is a second consequence people miss: because the header goes over the network and the property is read by script, the two can be modified independently, and a great many extensions modify only the property. Any server can compare them without running a line of JavaScript, so the extension that was meant to hide you produced a disagreement that is trivially cheap to detect.

As with the clock, a lone mismatch is unremarkable. Half the internet reads English from countries where nobody speaks it natively. The signal is the ordering, the region subtags, and whether the two sources of the same fact still agree with one another.

How each engine reports languages

Engine What it does today
Chromium navigator.languages follows the browser's language list; Accept-Language is derived from the same setting, so a mismatch means one of them was rewritten after the fact.
Firefox Resist Fingerprinting forces en-US for both the property and the header, keeping them consistent with each other.
Safari Follows the system language list. There is no per-site or per-window override.
Tor Browser Ships en-US for all users, with an optional localised bundle that changes the value for everyone using that bundle rather than per user.

How to align language, region and exit

Change the language list in the browser and the operating system together, so the property and the header are produced from the same source and cannot disagree.

Prefer a plain, common list over an exotic one. A list that appears in a small population is a stronger identifier than a list that contradicts your exit.

If a profile is meant to present as a given region, set the language, the zone and the exit together. Donut Browser's launch gate enforces exactly this before the profile starts.

What the mitigation costs

Changing the system language changes your entire interface. Changing only the browser's list keeps the interface but changes the language every site serves you, which for a daily-use browser is a real ongoing cost rather than a one-time setting.

How to check your own locale for contradictions

Nothing below depends on this site. These are the checks that produce the same answer in any browser, so the row above can be argued with rather than believed.

  1. In a console, compare navigator.languages with navigator.language. The first is the ordered list; the second is its head, and any tool that rewrote one without the other is visible immediately.
  2. Load any page and look at the request headers in your network panel. The Accept-Language header should be recognisably derived from the list the console just printed — same languages, same order, quality values descending.
  3. Check Intl.DateTimeFormat().resolvedOptions().locale, which resolves through the same preference chain by a different route. A third answer that disagrees with the first two is the clearest possible evidence of a partial override.
  4. Then set all three against your exit's country. Ordinary people produce mismatches here constantly; what you are looking for is not the mismatch but disagreement between your own three answers.

Locale and Accept-Language questions

Asked often enough about this vector to be worth answering on the entry itself.

Does a VPN change my Accept-Language header?
No. The header is built from your browser and operating system language settings and is sent through the tunnel unmodified. Sites that serve you a language based on your exit country are guessing from the address; sites that read the header get your real preference.
Is it safe to spoof navigator.languages with an extension?
It is usually worse than leaving it alone. Most extensions can only rewrite the JavaScript property, not the request header, and the resulting disagreement is detectable server-side with no script at all. If you change the language, change it in the browser and the operating system so both sources are produced from the same setting.
Should I set my browser language to en-US to blend in?
A plain, common list is a weaker identifier than an exotic one, so there is a real argument for it. The cost is that every site will serve you that language from then on, which for a daily-use browser is an ongoing tax rather than a one-time change.
What does the region subtag in en-GB actually tell a site?
That your settings were configured for that region — which is a claim about geography made by your browser without your involvement. Combined with the ordering of the rest of the list, it narrows the population you belong to before any other signal is considered.

Entry 06 · schedule edition 1.1.0, effective 2026-10-13, supersedes none. Per-engine notes reviewed 2026-08-12 against documentation for Chromium 141, Firefox 145, Safari 19.2, Tor Browser 14.5; they are compiled from vendor documentation rather than produced by a test run here.

Read this row on your own form.

Entry 06 appears on the declaration as Language and region. The form reports this row as a finding, as unread, or as nothing taken, never as a tick.

Complete the declaration · Mitigations ranked by cost · How a finding is produced

Close it before a page can read it.

Language, zone and exit are three settings that have to tell one story, and they live in three different places. Donut Browser keeps them attached to the profile rather than to your memory, and refuses to launch when the proxy's exit contradicts the fingerprint's language or timezone. Open source under AGPL-3.0, engine-level rather than script-level, no telemetry.

Stated because the repository proves it. This site has run no detection benchmark against any vendor and publishes none.