Closed (won't fix)
Project:
Menu translation (Node)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2011 at 23:10 UTC
Updated:
9 May 2011 at 14:11 UTC
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
Comment #1
plachWell, I introduced the
hook_i18nmenu_node_block_info_alter()hook exactly to allow other modules to integrate withi18nmenu_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?
Comment #2
jhodgdonAh, 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.
Comment #3
plachI will keep Menu Block support as moving it out would involve an upgrade path issue.