Module Description
At the moment, all menu items are displayed regardless of it being translated or not. Menu block current language attempts to resolve this by providing a replacement for core's Menu block that filters out the untranslated menu links.

Usage In order for this module to have any effect, you must replace menu blocks provided by the System module with menu blocks provided by this module.

Supported menu link types: - Custom Menu Links (Drupal\menu_link_content\Entity\MenuLinkContent) - Views menu links (Drupal\views\Plugin\Menu\ViewsMenuLink) - String translated links

See: https://www.drupal.org/node/2466553 for more details.

Versions - 2.x: Requires Drupal 9.3+ or 10.0+, PHP 8.0+ - 8.x-1.x: Drupal 8 and 9 support. Supports PHP 7.4+. No further development

Installation composer require drupal/menu_block_current_language

Similar modules Menu Multilingual

Project Usage
833
Creation Date
Changed Date
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
Menu block current language filters out untranslated menu links to display only translated menu items.
Data Name
menu_block_current_language

OPENAI CHATBOT

OPENAI CHATBOT

19:52:42
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.