# Browser language for a proxy country we have no row for

> Mosaic picks a browser language for a proxy's country from a 51-row table. Russia has no row, so a Russian IP keeps its old language and says so.

Source: https://mosaicbrowser.com/blog/exit-in-a-country-we-have-no-locale-for

## An IP in a country our locale table doesn't cover

Mosaic picks a browser language for a proxy's country from a 51-row table. Russia has no row, so a Russian IP keeps its old language and says so.

![51 rows: 51 rows, 49 countries, and Russia is not one of them](https://mosaicbrowser.com/covers/exit-in-a-country-we-have-no-locale-for.webp)

The browser language for a proxy country should be one people in that country send: the country's main language with its region subtag, often with English after it. Mosaic draws it from a locale table of 51 rows covering 49 countries. Russia is not one of them. A profile on a Russian IP keeps the language it had, and since September the match says so instead of reporting a full match.

How we found that gap, on a profile speaking Mexican Spanish out of Yoshkar-Ola, is told in [a Russian IP and a profile speaking Mexican Spanish](https://mosaicbrowser.com/blog/accept-language-and-proxy-country). This post is about the table itself: what a row holds, why a missing one is not something the matcher should fill in, and what to do with an IP the table does not know.

## What one row of the table holds

Each row in `LOCALES` names a country, a timezone, a list of languages, a pair of coordinates and a weight. The generator picks rows by weight when it draws a new profile, so the same table decides what a new profile is and what an existing one is moved to. A profile matched to an IP afterwards ends up with values a profile created there could have had.

A few real rows, as they stand:

| Country | Timezone | Languages |
| --- | --- | --- |
| Germany | Europe/Berlin | de-DE, de, en-US, en |
| Spain | Europe/Madrid | es-ES, es |
| Switzerland | Europe/Zurich | de-CH, de, en-US, en |
| Belgium | Europe/Brussels | nl-BE, nl, fr-BE, fr, en-US, en |
| Canada | America/Toronto | en-CA, en, fr-CA, fr |
| Ukraine | Europe/Kyiv | uk-UA, uk, ru, en-US, en |
| India | Asia/Kolkata | en-IN, en, hi-IN, hi |

The United States takes three rows, one each for New York, Chicago and Los Angeles, which is why 51 rows cover 49 countries.

The language list becomes the `Accept-Language` header with falling weights. Germany's row goes out as `de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7`, and page script reads the same list from `navigator.languages`. Where a country has more than one row, as the United States does, the profile's own seed picks between them, so matching one profile to one IP twice gives the same answer both times. A language that changed at every launch would be a signal of its own.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Machines that exist](https://mosaicbrowser.com/features/real-fingerprints)

## Why the matcher does not invent a row

When a profile meets an IP, `realignToExit` moves the timezone and the geolocation, and looks up a language for the IP's country. For Russia that lookup comes back empty, and the language is left where it was.

We could have written a guess into the matcher: `ru-RU, ru` for Russia, and the same for any other country it met. It would be right for most Russian IPs. It would also create profiles the generator can never draw, because the generator only knows the 51 rows. Two code paths producing two populations is the kind of difference a site can count.

Adding a Russian row is the real fix, and it is bigger than it looks. A row has a weight, so it changes what every new profile in the library can be drawn as, not only the one on the Russian IP. That is a decision about the whole population, and we did not want it made as a side effect of matching one profile.

## What the match says now

The fault was never that the language stayed. It was that the response claimed a match while the language contradicted the IP. On the profile that found it, the match came back `changed: true`, fields `timezone` and `geolocation`, and an empty `skipped` list, with a reason saying the profile already agreed with the proxy IP.

Now the `skipped` list carries the gap by name:

```
language (es-MX does not match RU; the locale table has no row
for RU, so there is no language to move it to)

```

When nothing could move at all, the reason starts "Nothing could be moved for" the IP and quotes the same text. "Already agrees" is only written when nothing was skipped.

The check runs the other way as well. A profile already sending `ru-RU` on a Russian IP is coherent, row or no row, because its region subtag names the IP's country. It is not flagged. A warning about a match that is fine trains people to ignore the warnings that are not.

## Choosing a language for an uncovered country yourself

For an IP the table does not cover, the language is your call, and the editor lets you make it:

1. Open the profile and find the language fields under its locale.
2. Type the tags into Also accepts, for Russia `ru-RU, ru`.
3. Pick `ru-RU` under Primary language. It moves to the front of `Accept-Language` and `navigator.languages`, and `Intl` dates and numbers follow it.

Do this before the profile signs in anywhere if you can. A used profile keeps its language through every launch for a reason: the header goes out on every request, and a site that has heard `es-MX` for a month notices `ru-RU` the day it starts. Why we treat a used profile that way is in [why we won't change the language of a used profile](https://mosaicbrowser.com/blog/language-on-a-profile-with-history).

It is worth the effort. In our own runs, Whoer took 20% off its score for a language that did not match the IP's country, and it is one of the first pairs a consistency scanner compares.

## Fewer surprises: pick the country when you ask for a session

Most uncovered IPs come from a session where nobody picked the country: a `region-random` draw that can land anywhere in the seller's pool. Pinning the country when you ask for a session through [proxy providers](https://mosaicbrowser.com/features/proxy-providers) keeps the IP inside a country the profile was drawn for, and a profile created against a checked proxy gets its timezone, language and geolocation from that IP at the start, which is what [real fingerprints](https://mosaicbrowser.com/features/real-fingerprints) covers. The exact header Chrome builds from the language list, weights and all, is in [how Chrome writes Accept-Language](https://mosaicbrowser.com/blog/how-chrome-writes-accept-language).

## Questions

### What browser language should I use for my proxy's country?

The language people in that country actually send, with the country as the region: de-DE for Germany, en-GB for Britain, pt-BR for Brazil. Many real browsers add English as a second choice, and countries with two languages often list both.

### Does Mosaic set the language from the proxy automatically?

For a profile that has never run, yes, from the row for the IP's country. For a used profile it reports the mismatch and leaves the language alone, because the sites it is signed in to have been hearing the old one.

### What happens if my proxy is in a country Mosaic's table does not list?

The timezone and geolocation still move to the IP. The language stays as it was, and the match result says the table has no row for that country, so you can set the language yourself.

### How do I give a profile a Russian language by hand?

In the profile editor, type ru-RU, ru into Also accepts. Those tags then appear under Primary language, and choosing ru-RU there puts it first in Accept-Language and navigator.languages.

## Related

[A Russian IP and a profile speaking Mexican Spanish](https://mosaicbrowser.com/blog/accept-language-and-proxy-country): A profile matched to a Russian IP kept sending es-MX in Accept-Language. Leaving the language alone was right. Saying nothing about it was the bug.

[Why we won't change the language of a used profile](https://mosaicbrowser.com/blog/language-on-a-profile-with-history): Changing a browser's language while signed in changes Accept-Language on every request. A used Mosaic profile keeps its language and reports the mismatch.

[How Chrome writes Accept-Language, q-values and all](https://mosaicbrowser.com/blog/how-chrome-writes-accept-language): Chrome writes Accept-Language from its language list: first tag bare, then q=0.9, 0.8 and down by 0.1 to a floor of 0.1. A hand-typed header rarely matches.

[Machines that exist: fingerprints drawn from real hardware](https://mosaicbrowser.com/features/real-fingerprints): Mosaic draws each profile's GPU, screen, CPU, memory and fonts from one real device, so the parts of a fingerprint agree with each other and with the host.

[Provider accounts: one proxy line, one IP per profile](https://mosaicbrowser.com/features/proxy-providers): Paste your proxy seller's line once and Mosaic makes a separate session for every profile, so each one browses from its own IP address.

[The RTT client hint, read off the wire](https://mosaicbrowser.com/blog/rtt-on-the-wire): ECT, RTT and Downlink headers behind a proxy, measured: a claimed round trip moved JavaScript to 300 and left the RTT header at 50. So we claim neither.

[A control on a different IP is a second experiment](https://mosaicbrowser.com/blog/fingerprint-test-with-and-without-proxy): A fingerprint test with and without a proxy compares two countries, not two browsers. Our control ran with no proxy, and four hypotheses died before we saw it.

[fingerprint.com wouldn't load through our proxy, and that was a result](https://mosaicbrowser.com/blog/fingerprint-demo-not-loading): Through one residential IP the FingerprintJS demo hung; from the same Mac with no proxy it loaded. Our runner blamed itself. The IP was why.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
