I have a problem with a site using i18n_menu.module. When I go to the “edit menu” page (ie. admin/structure/menu/manage/main-menu/edit ), and try to set the “Multilingual Options”, these are not saved to the database, ie. language keeps the value 'und' and i18n_mode keeps the value 0.
If I change these values in the database, empty the cache and go back to the edit menu page, the fieldset will reflect the values stored in the database. But if I click to save the menu (after re-arranging menu items, for example), the settings will be reverted to their default value in the database and cannot be changed back using the interface.
I'm trying to figure out how to fix this.
Comments
Comment #1
miklI've found a workaround, patch attached.
Comment #2
Cogax commentedworks fine
Comment #3
k4v commentedWorks for me too. Thanks =D.
Comment #4
k4v commentedThis seems to be a side effect with some other module. On a fresh test site with only content translation activated, I don't need the patch to save the settings.
Comment #5
alan d. commentedDid anyone have Simplified Menu Administration enabled? This works fine when that module is disabled.
Comment #6
Cogax commentedNo, its not installed in my project.If i find time, i will disable all modules one by one and then hopefully i will find out wich module cases this bug.
Edit
Well i was wrong. Yes i have it installed and yes after disabling the data get saved right. But when i disabled it the language switcher right below isn't showing up, but i don't now if it should be like this or if its a bug.
Comment #7
alan d. commentedSame, I'm not sure either :?
Comment #8
bitshiftcop commented#5 worked! After disabling Simplified Menu Administration I could translate my menus
Comment #9
lolandese commentedThe #1 patch still applies cleanly against the latest Drupal version (7.34) and works as expected.
Of course also #5 works by disabling the conflicting module, Simplified Menu Administration. As the functionality of that module is not crucial (only fixing a UX issue), that seems a viable option as well. The incompatibility is documented:
i18n: Compatibility with contributed modules
Comment #10
b-prod commentedThe discussed bug is caused by the Simplified Menu Administration module which does not take care of the hierarchical states of the 2 merged form. There is a patch fixing this.
Providing a patch against i18n menu is not relevant, since this module uses the Drupal hooks as expected.
see #1256700-10: SMA incompatible with Menu translation of i18n