GlossaryLocalization

Language selector

A language selector is the control that lets a visitor switch a website to another language. What it should link to, how to label it, and LangRelay's own.

Published
Reading time
2 min read
Two riders on camels arrive from opposite sides at a camp in golden dunes, one raising a hand, its big tent patterned in green and orange leaf tiles.
On this page
  1. What a selector links to
  2. How to label the entries
  3. LangRelay's selector

A language selector is the control on a website that lets a visitor change the language the site is shown in. It is also called a language switcher or language picker, and it is usually a dropdown in the header or a list of links in the footer. Whatever its shape, it does one job, which is to take the reader to the same content in another language.

Each entry in a good selector links to the page the visitor is on, in the other language, not to the other language's homepage. Someone reading a returns policy in English who picks Italiano should land on the Italian returns policy. A selector that always goes home makes the reader find their place again.

The entries are ordinary links. Because each language version has its own address, a selector built from links works without JavaScript, can be shared and bookmarked, and gives search engines a path to every version. Google's hreflang documentation even names language selector pages as what its x-default value was designed for, a page whose only job is to let the visitor choose.

How to label the entries#

Label each language in that language: Deutsch, Italiano, Türkçe. A reader scanning the list for their own language is looking for its name as they write it. The W3C's guidance on WCAG's Language of Parts uses this case as its example: a list of language links, each name written in its language and each link carrying a lang attribute, so a screen reader pronounces Deutsch as German and 繁體中文 as Chinese.

Flags are a weaker label, because a flag stands for a country and many languages are spoken in several. Language switcher best practices covers flags, placement, dropdowns against lists and forced redirects in detail.

LangRelay's selector#

LangRelay's WordPress plugin renders its selector on the server, as a list of links, from your Site's live languages. You place it with a block, an Elementor widget or a shortcode, and if you place none, a floating one appears in the bottom right corner once your first language is live. Each link points at the same page in the other language, uses the translated address when you have set one, and carries its own lang and hreflang. Native names and flags are each a setting.

The language switcher feature page shows the options, the x-default entry covers the fallback page a selector can serve as, and translating an Elementor site walks through placing the widget.

Sources

The pages this one cites, with the day each was read.

  1. 01W3C, Understanding WCAG 2.2, Success Criterion 3.1.2 Language of Partsw3.org, checked 7 October 2026
  2. 02Google Search Central, Tell Google about localized versions of your pagedevelopers.google.com, checked 7 October 2026
  3. 03WordPress.org, LangRelay plugin (version 2.1.0)wordpress.org, checked 7 October 2026
  • accessibility
  • language switcher
  • multilingual website
Part of a guide

Book a demo

See LangRelay on your own site

Book 30 minutes with the team. We translate one of your pages live and walk through review, publishing and multilingual SEO.