Language Switcher: Language Code
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 8.x-2.2 | Stable | 8–11 | Feb 19, 2026 |