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.
So if I add the core 'menu' block to my page depending on what language I'm viewing the page in the menu items will change (i.e. only English menu items will show when viewing the English page, German items for the German page.) All works as it should!
However if add a 'menu block' block to my page it will always display the menu items of all language no matter what language I am viewing. So you'll see both England and German links when viewing the English or German page.
If core handles this correctly I assume the issue is within this module somewhere?
Cheers
Comments
Comment #1
jdelaune CreditAttribution: jdelaune commentedFound the issue. Sorry I don't have GIT on my laptop so can't produce a patch at the moment. But lines 278-281 on menu_block.module need to be changed to:
Comment #2
jdelaune CreditAttribution: jdelaune commentedWell looks like this is fixed on GIT so I'll close this :)
Comment #3
Ludo.RIt seems it has not been implemented well.
In menu_block.module (lines 278-281) :
But the "Menu translation" module name is i18n_menu.
So it should be (as jdelaune says) :
I think the 18n modules names have changed since Drupal 6.x
Comment #4
jdelaune CreditAttribution: jdelaune commented#1114722: i18n support is broken
This was fixed back on the 15th May?
Comment #5
Ludo.ROh ok, but it hasn't been released yet in a stable version.
Last version (2.2) has been released 2011-Mar-09.
I think I will patch the module myself, until a stable version is released.