Route by language

One QR code, in the scanner's own language

Print one code for a menu, a manual or a sign. Each scan opens the version in the language the scanner's browser asks for, and anyone whose language you don't publish lands on a page they can still use.

The problem

A row of flags takes space and still guesses

A code per language asks visitors to find their own and takes print space for each one. The scanner's browser already says which languages its owner reads, in order of preference — the code can simply use that.

Worked example

Try it: change the scan, or the rules

Three language rules, and a menu with a language picker as the fallback. Language is read from the browser, not the country: the French speaker in Berlin gets French, and the Japanese tourist — whose browser also lists English — gets English rather than the picker.

A menu in the scanner's language

A restaurant menu by browser language, with a language picker for everyone else. The Japanese tourist's browser also lists English, so they get the English menu.

Rules are checked from the top. The first enabled rule that matches the scan decides where it goes, and a scan no rule matches goes to the fallback. Pick a scan or set your own, and the rule that decides it is highlighted.

  • Switzerland (CH)

Leave empty to simulate a scan whose country is unknown (a VPN, or an address that can’t be placed).

The region the scan comes from, in the country above — the code a real scan reports alongside its name. Best-effort for real scans. Leave blank to simulate as unknown.

In order of preference, the way a browser sends them — or paste a real Accept-Language header. Leave blank to simulate as unknown.

The instant of the simulated scan.

Used by rules set to "scanner's local time". Leave it blank for a scan from a location we can't place: like a real one, it's read in UTC.

More scan details — in-app browser, OS version, city, location, scan number, returning visitor, referrer

Browsers differ in what they report — see what a real scan from this one tells the edge below.

The version the device really runs. Leave blank for a current one — every phone reports some version.

A real scan reports the continent along with the country, so it's taken from the country unless you pick one.

As a scan reports it — usually the English name (Munich, not München); case and accents don’t matter. Leave blank for unknown.

For distance rules. A real scan is placed near its city's centre, and only roughly. Leave blank to simulate as unknown.

For distance rules. A real scan is placed near its city's centre, and only roughly. Leave blank to simulate as unknown.

Which of the code's counted scans this is — 1 is its first. Only scans that reach a destination count: not bots, and not scans that stop at a password or age prompt or a warning page. A scan limit of 100 serves scans 1 to 100. Real scans are counted approximately: when many people scan at the same moment some can get the same number, so a busy code may serve some past a limit or an "at most" rule. Leave it blank to simulate a scan made while the counter couldn't be read, which no scan-number rule matches.

No enabled rule here reads this, so this choice changes nothing — and a real scan of a code with these rules sets no returning-visitor cookie. Add a returning-visitor rule and scans are remembered from the moment it is published.

Leave blank to simulate this as unknown.

No version entered, so this tests a current iOS 26 — enter one to test another.

What a real scan from this device tells the edge: iOS 26.

The User-Agent this device's browser sends, which the edge reads: Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Mobile/15E148 Safari/604.1

Resolves to https://example.com/menu/fr, via "French menu".

Language rules see this visitor as fr-ch — the first language in their list that one of your rules names, or their first language if no rule names any of them.

  1. French menuMatched

    language is fr — simulated value: fr-ch

    → https://example.com/menu/fr

  2. German menuNot reached

    → https://example.com/menu/de

  3. English menuNot reached

    → https://example.com/menu/en

Every code has a fallback, so no scan ever dead-ends.

Your changes stay in this tab and are gone when you leave. On your own codes, routing rules come with Pro and above, and A/B splits and rotations with Business and above.

Where each scan lands

  • Geneva: French, then English and GermanRule 1 · French menuFrench menu
  • Berlin: French browserRule 1 · French menuFrench menu
  • Tourist: Japanese, then EnglishRule 3 · English menuEnglish menu
  • Spanish onlyFallbackMenu with a language picker

Every outcome shown here is checked by an automated test that runs these scans through the same routing code a live scan uses.

Setting it up

  1. 1

    Create a dynamic code whose fallback is a page every visitor can use — one with a language picker, or your main language.

  2. 2

    Add a rule for each language you publish. A French rule matches every French — from France, Switzerland, Belgium or Canada.

  3. 3

    Run a few browsers through the simulator, including one that lists several languages, then print.

Which plan

Routing rules are included from the Pro plan, at $29 a month.

What to know before you print

  • Language comes from the browser's language settings, usually the phone's own. Someone whose phone is set to English gets English, even if they would rather read French, unless French is in their list too.

  • Each scan is decided on one language: the scanner's highest-ranked language that any of your rules names. If your fallback is, say, the English menu, give English a rule too — otherwise a visitor who lists English first and French second is sent to French, the only one of their languages your rules mention.

  • Language and country are kept separate on purpose. A French speaker in Germany is ordinary, so a language rule never guesses from the country.

Questions

Which language does a scanner get if their browser lists several?

Their highest-ranked language that one of your rules covers. A browser listing Japanese and then English, scanning a code with an English rule and no Japanese one, gets English.

Couldn't I route by country instead?

You could, but country is a poor guess at language: tourists, expats, and countries with several languages all defeat it. A language rule reads what the scanner's browser actually asks for.

Why give my fallback's language a rule of its own?

Because the fallback has no language the router knows about. Naming it in a rule lets a visitor who ranks it above your other languages reach it.

Route your next printed code

Create an account, set up the rules, and check them in the simulator before anything goes to print.

Multilingual QR code: redirect by browser language · QRtoMany