Language Switcher Style Pack adds a Language switcher (Style Pack) block with 10 ready-made designs. Place it like core's language switcher, choose a design, and get a polished switcher without writing templates or CSS.
Designs
- Menus: Globe dropdown, Compact menu
- Lists: Inline links, Pills, Segmented toggle, Code badges, Flag list, Footer list
- Panels: Floating button, Picker grid
Features
- No CSS framework, no JavaScript and no extra dependencies. Menus use the HTML
detailselement and panels use the HTMLpopoverattribute. - Native language names (Français, Deutsch, العربية), the site language name, the code, or both names.
- Languages without a translation of the current page can be dimmed with a "Not translated" note, or hidden.
- Optional flags, current language highlighted or hidden, and an accent color per block.
- Full right-to-left support for languages such as Arabic and Hebrew.
- Accessible: keyboard support,
langanddiron every language name, andaria-currenton the current language. - Uses core's language switch links, so modules that alter them, such as Language Switcher Extended, keep working.
Getting started
- Install with
composer require drupal/language_switcher_style_packand enable the module. - Go to Structure » Block layout and place the Language switcher (Style Pack) block.
- Choose a design and options, then save.
Requirements
Drupal 11.2 or later with the core Language module.
Similar projects
Language Switcher Dropdown and Languages Dropdown each provide one dropdown style, the latter for Bootstrap themes. Language Switcher Style Pack provides 10 framework-free designs that work with any theme.
Ask your assistant about Language Switcher Style Pack
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
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 11 | Nov 12, 2026 |