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.

Translatable menu link uri

10,927 sites Security covered
View on drupal.org

This module allows content editors to specify a different URL for menu items based on the language. This is useful when linking to external content, like a PDF, that cannot be translated within Drupal itself. By providing an alternative "Link override" in the menu item's translation settings, you can ensure the correct link is displayed for each language.

Introduction

This tiny module allows content editor to override link field from custom menu items.
The major reason behind this is a scenario, where user want to have different URL, depending on language.

Real life use case is scenario, where we are linking to external, static content (like PDF file), which cannot be translated locally.
It's really rare, but sometimes it happens :)

Installation

- Please download and enable module, as usual :)
- At admin/config/regional/content-language, please enable translation for Custom menu link entity type.
- Please enable translation for Custom menu link => Link override field.

At this moment, module is fully functional.

Usage

At menu link add/edit form you will see new optional link field, "Link override". If this remains empty, then it will do nothing.
If you enter value in this field, then it will override default link value at menu tree rendering.

Please note, that best scenario here is to add this field on translation forms. If you put this on source edit form, then links in translations are overriden by default.

Activity

Total releases
3
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
2.1.3 Stable Jul 8, 2025
2.1.2 Stable Jul 7, 2025
2.1.1 Stable Jan 20, 2025