Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Translatable menu link uri

11,176 sites Security covered Drupal 8–11
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.

Depends on

Dependencies of the latest stable release

  • content_translation Drupal core
  • menu_link_content Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

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