Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Release: Change Requests 2.1.9 Minor update available for module change_requests (2.1.9). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Language Switcher: Language Code

1,091 sites Security covered Drupal 8–11
View on drupal.org

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.

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
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

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