🇫🇷France @yvalentin

Account created on 17 September 2024, about 2 months ago
#

Recent comments

🇫🇷France yvalentin

Hi there,

I encountered another issue with this one, while using translated links to custom paths generated by a custom module.
The concerned paths looks like: /l/parameter

When I translate the links through translatable_menu_link_uri interface, tb_megamenu render them wrongly when viewed in the translated language.

Example:
Let say my website home URL is https://www.example.com, and my default language is english.
I have this link: /l/settings, that is translated to /l/parametres in french.
On front-office in the default language, the link renders correctly: https://www.example.com/l/settings
But when viewing the french version of the site, the link renders this way: internal:/l/parametres

It seems to be linked of the way the URL is generated. The translatable_menu_link_uri module use the getUrl() method while tb_megamenu use getValue()['uri'], and that is where it fails.

Production build 0.71.5 2024