Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds a block that warns users when they are viewing content that is not available in their selected language. It allows you to keep Drupal's default language switcher while improving the user experience by clearly indicating untranslated content.

Natively, Drupal language module offers a language switcher that links to the translation of the page, whether it exists or not. Nothing wrong for SEO if canonical url tag and hreflang link tag is not telling lies, but it may hurt usability.

This module adds a block that will warn the user about untranslated content is shown if there's none for current language.

This module is a way to keep the Drupal core language switcher block, without having to use some (great) modules that change the logic of switcher (hiding the unavailable languages link if there's no translation or leading to front page). These logics may work for your use case, but it may seem that the language is not available anywhere in the whole site when it is just for a specific content.

Features

A simple block, no configuration, will be shown when content is not available in the selected language.

Post-Installation

Add the block in block layout settings. You may enable only for those content types you need in block conditions.
You may preprocess to suit to your needs.

Similar projects or workarounds

With different workarounds as stated in https://www.drupal.org/project/drupal/issues/2861280#comment-15016674
- https://www.drupal.org/project/content_translation_redirect
- https://www.drupal.org/project/dropdown_language
- https://www.drupal.org/project/language_switcher_extended
- https://www.drupal.org/project/lang_dropdown
- https://www.julienverneaut.com/en/articles/extended-options-language-sel...
- https://menetray.com/en/blog/how-customize-language-selector-drupal

Activity

Total releases
3
First release
Dec 2025
Latest release
7 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.0-beta2 Pre-release Dec 14, 2025
1.0.0-beta1 Pre-release Dec 14, 2025
1.0.x-dev Dev Dec 12, 2025