← All articles

5 min read

Language selector: avoid these 10 mistakes on your website

Flags as language choice, hidden menus, a jump to the home page? Ten typical language selector mistakes and how to make switching languages easier.

A puzzled visitor stands in front of a maze inside a browser window whose exit leads to a language choice of Deutsch and English

You had your website translated. Texts agreed, technical terms checked, everything done. Now someone just has to find the right language. It’s hidden behind a tiny flag, somewhere between the login and an icon whose meaning probably only the designer knows.

It probably looked tidy in the layout. But for someone who can’t understand a word right now, the language selector is the most important spot on the page. Here are ten typical language selector mistakes and how to avoid them.

1. Use language names instead of flags

A single country flag leaves the language choice open. Next to it, a selection shows the spelled-out languages Deutsch, Français and Italiano.

Which language do you pick with the Swiss flag? Exactly. Spell out the languages instead of making visitors map their language skills onto a geography.

Keep language and delivery country separate, too. Someone who wants to read your shop in English hasn’t ordered a move to London.

2. Keep the choice simple

A simple choice of Deutsch and English next to a needlessly complicated control panel.

An understandable menu doesn’t need an elaborate animation. Visitors want to choose a language; they probably didn’t come for a little stage show.

With only a few languages, direct links are a good option. With many, a dropdown can save space. Pick the form by how quickly it gets people where they want to go. The W3C describes the pros and cons of select lists.

3. Write language names so people recognize them

A language selection shows native names with German explanations: Español (Spanisch), Français (Französisch) and 日本語 (Japanisch).

Show native names such as “Español” or “日本語”. An additional label like “日本語 (Japanese)” can help with orientation. Someone who can’t read the current page language should still be able to recognize their own.

Translate these additional labels to match each page as well. A German page whose menu suddenly explains “Japanese” feels a bit like the last slide nobody checked before the meeting. The W3C recommendations on language navigation explain this labeling.

4. Use unambiguous language codes

The visible language names English (US) and English (UK) are assigned to their technical language codes en-US and en-GB.

Internally, every version needs an unambiguous identifier. “en-US” is common for American English, for example, and “en-GB” for British English. The visible label can still read “English (UK)”. The display and the technical code serve different purposes.

Plan your URLs, too: every language version should have its own address. hreflang tells Google which language versions belong together. A dropdown alone doesn’t do that. Google Search Central explains the technical mapping.

When switching, the English product page belongs with the German product page. Someone who lands on the home page after clicking “English” gets to search for the product again. Maybe they’ll get to know the range better that way. If a translation is missing, say so openly.

The search field of a language selection contains Español. Below it, the matching result appears instead of a long list.

With many languages, a search field helps. If possible, let the search find both “German” and “Deutsch”. Nobody should have to work out first under which name you filed their language.

For two languages, though, a search field would be a rather ambitious make-work project.

6. Place the selector where people can find it

A hand lifts the language selection Deutsch and English out of nested menus into the visible header of a browser.

Put the language selector in a clearly visible spot in the header. The footer can offer an additional option. Only at the very bottom means: first scroll through a page you don’t understand. Hospitality with an endurance test.

Check the mobile view in particular. A selector that is immediately visible on a big monitor can disappear under several levels in the phone menu. The W3C recommends placing it near the top of the page.

7. Make the language selector accessible

A keyboard with a highlighted Tab key operates a language selection. An orange focus ring marks English.

Use real links for the language pages and label the navigation clearly. Mark the current selection for assistive technology as well. For a link to the current page, aria-current="page" is a good fit. The W3C shows the right menu structure.

When you sign off on the work, put the mouse aside: can you reach all options with the keyboard? Is the focus visible? Also check with a screen reader whether the name and state of the controls are understandable. A green checkmark in the design mockup unfortunately doesn’t answer these questions.

8. Remember the deliberate language choice

A traveler in Italy chooses German on their smartphone. The location and the chosen language are shown separately.

Save the chosen language for later visits. An explicit choice should take precedence over a guess.

You’re on vacation in Italy and still want to read German? That should stay possible. Google advises against automatic redirects based on an assumed language. Keep other language versions reachable, including through directly opened links. See Google’s notes on switching languages.

9. Tell regional variants apart

Two equal language options distinguish Português (Brasil) and Português (Portugal).

If you offer different versions, name them clearly: for example “Português (Brasil)” and “Português (Portugal)”.

A menu with “Português” twice is a guessing game. The information needed to decide belongs right at the selection.

10. Test with people who don’t know the way

A test subject looks for the language selection on a smartphone while a second person watches and takes notes.

Open a foreign-language subpage. Ask a test subject to choose their language and keep reading the same content. Don’t tell them beforehand where the switch is.

Watch the path on a phone, too. As soon as you explain how it works, you’re testing your help text.

Planning a multilingual website? At dotnetic, we also look at the transitions between language versions with you. For example, whether the product your visitor was interested in is still on screen after the click on “English”.