I added one line to this wonderful module to make it translate the drop-down menus from the Nice Menu module (http://drupal.org/project/nice_menus).

This is in i18menu_node_block_info(), and unfortunately I don't have it as a git patch at the moment... but just after the line:

      'menu_block' => array(),

add this line:

      'nice_menus' => array(),

Then clear the cache, and voila! Besides 'menu' and 'menu_block' menus, this module will also translate the menus from Nice Menus as well. It would be great to add this to the next release. :)

Comments

plach’s picture

Status: Needs review » Active

Well, I introduced the hook_i18nmenu_node_block_info_alter() hook exactly to allow other modules to integrate with i18nmenu_node. Actually I'm leaning towards opening a feature request in the Menu Block queue to implement the hook and leave in MTN only the core menu info.

What about moving this feature request to the Nice Menus queue?

jhodgdon’s picture

Ah, I see. I didn't realize what that hook was doing.

It's fine with me if you want to move this to the Nice Menus queue.

I guess I can write a 3-line custom module to do this too, now that you have pointed out the hook.

plach’s picture

Status: Active » Closed (won't fix)

I will keep Menu Block support as moving it out would involve an upgrade path issue.