Language switcher
type: TechArticle
description: List each locale in its own language ('Deutsch', '日本語', 'العربية') and mark it with the right lang attribute. Don't use flags — flags are countries, not languages.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-05-29T18:54:03.000Z
citation: W3C i18n — Using select to link to localized content
  type: CreativeWork
  publisher: W3C
citation: W3C — Internationalization Quick Tips for the Web
  type: CreativeWork
  publisher: W3C
citation: BCP 47 — Tags for Identifying Languages
  type: CreativeWork
  publisher: IETF

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Internationalisation
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/i18n/
item list element: Language switcher
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/i18n/language-switcher/