Download & Extend

Primary menu when the mega menu is selected dont localize the links

Project:Marinelli
Version:7.x-3.0-beta11
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

The primary menu when the mega menu is selected, it display all the localize links regardless of the language that the user select for each. The problem is not due to i18_menu because if you get a block on the main menu, it display the link normaly.
For more look here : http://santorinibysea.com. I have translate right the home and contact.

Comments

#1

Hi!
I recently upgraded a website (http://kbip.fse.ulaval.ca) from Drupal 6 to Drupal 7 having localized menu with i18n. It does not use the Marinelli theme, but I encountered the same error as you; the menu links were not localized although the translation data seemed correct. By trial and error, I found I just had to open the edit page of each primary menu element, change nothing (!), and save it. Then, the menu translation came back progressively! Weird problem... I hope this can help you!

Christian

#2

No, it's not work for me. There and other same issues but the solves dosent solve my problem.

#3

Anyone..... Any help

#4

Component:Miscellaneous» Code
Assigned to:salapataras» Anonymous

#5

There is a similar issue (fixed) for D6 version of marinelli, plz search it and link it here. After I'll try to solve the problem.

#6

#7

Also the problem there is only for the links like , contact . All the links of the nodes are displaed normaly.

#8

Mavimo do you have any news?

#9

Simple and tested fix.

in your marinelli\theme\theme.inc

find this

$menu = $variables['menu'];

and replace with this

$menu = i18n_menu_localize_tree($variables['menu']);

I assume that you use i18n module for localization. If not this will NOT fix your issue.

#10

Thank you, it worked for me!!

Simple and easy!

#11

Nice man!! it works!!

#12

Why the heck they don't fix that in the code!!!?? It took me long time to find out what was happening!!

nobody click here