translatable_menu_link_uri
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.