Menus & menu links can be assigned to a language, but cloning them is tricky because:

* Each menu link within such a menu (or beneath a link) would then need cloning, retaining any link hierarchy.
* Menu machine names are unique keys, so we would have to provide a new menu name. Maybe we could provide a textbox for the new name to be entered, for each menu to be cloned, instead of the checkbox element that we normally show?!
* Menu links can be translated in a variety of modes (including through i18n_string, which is already covered).

Comments

james.williams created an issue. See original summary.

sastha’s picture

StatusFileSize
new2.19 KB

Hi James,

If we create menu links using i18n_string, I believe we have to manually set weight information for each menu link.

Attached is a patch I have created for creating menu links dynamically. Please take a look.

NOTE: Menu links creation code is taken from Node clone module

sastha’s picture

Status: Active » Needs review
maheshv’s picture

Assigned: Unassigned » maheshv