Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Language Switcher: Language Code

Security covered Maintenance fixes only 842 sites

This module modifies the core Language Switcher block to display language codes instead of full language names for better conciseness. It offers a simple, focused solution for quickly changing how language options are presented.

A really simple module which replaces the Language name by the langcode on the core Language Switcher block.

By default, the core language switcher module renders a list of links using the Language name on the title. This module just replaces the title by the langcode, just that.

If you aim to provide some additional settings you might consider some other similar modules.

Similar modules

  • Language Switcher Extended: Extends the default behaviour from the core's language switcher with several options, it includes the option to display the langcode instead of the language name on the links among many others. If you are looking for additional settings for the language switcher module, this is your module. Our scope with Language Switcher Langcode is much smaller than Language Switcher Extended.
  • Dropdown Language: It also provides the ability to display langcodes instead of the Language name. In contrast, it displays the links in a dropdown element.
  • Language Switcher enhanced: Checking the repository it also provides the ability to display the langcodes instead of the Language names. In contrast it replaces completely the core Language Switcher module by its own switcher.
Drupal 8–11

Ask your assistant about Language Switcher: Language Code

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • language Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2026
Latest release
7 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
8.x-2.2 Stable 8–11 Feb 19, 2026