Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
christian.perreault CreditAttribution: christian.perreault commentedHi!
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
Comment #2
salapataras CreditAttribution: salapataras commentedNo, it's not work for me. There and other same issues but the solves dosent solve my problem.
Comment #3
salapataras CreditAttribution: salapataras commentedAnyone..... Any help
Comment #4
salapataras CreditAttribution: salapataras commentedComment #5
mavimo CreditAttribution: mavimo commentedThere 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.
Comment #6
salapataras CreditAttribution: salapataras commentedhttp://drupal.org/node/1192280
Comment #7
salapataras CreditAttribution: salapataras commentedAlso the problem there is only for the links like , contact . All the links of the nodes are displaed normaly.
Comment #8
salapataras CreditAttribution: salapataras commentedMavimo do you have any news?
Comment #9
spyros_kte CreditAttribution: spyros_kte commentedSimple 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.
Comment #10
valery86 CreditAttribution: valery86 commentedThank you, it worked for me!!
Simple and easy!
Comment #11
smashingx1 CreditAttribution: smashingx1 commentedNice man!! it works!!
Comment #12
smashingx1 CreditAttribution: smashingx1 commentedWhy the heck they don't fix that in the code!!!?? It took me long time to find out what was happening!!