I have a node translated to two languages (English and Swedish). A single menu item points to the translation set, and the title of the menu item changes when the site language changes.
When I edit and save one of the nodes, the language of the menu item is changed from "All languages" to the language of the node I just edited. So if I edit the english node, the menu item changes language to English.
I believe this is related to the fieldset "Menu settings" on the node edit form. This is automatically populated when a node is edited, and when you save it seems to override the language of the menu item.
I have seen this behaviour on two separate sites:
1. i18n 1.6 and i18nmenu_node alpha 3
2. i18n 1.7 and i18nmenu_node beta 1
I'm thinking this could be avoided by unsetting the entire fieldgroup for menu settings, but this is a far from elegant solution. Any help would be greatly appreciated.
Comments
Comment #1
plachThe issue you are seeing is probably caused by a change to Menu translation introduced in i18n 1.6: alpha3 is affected by it, beta1 should have fixed it (see #905444: Make i18nmenu_node work with i18n 1.6).
I cannot reproduce this on a fresh i18n 1.7 + i18nmenu_node 1.0-beta1 install: please verify that the "Enable node translation" checkbox is checked for the menu items pointing to translation sets because their status may have been reset.
Comment #2
Plant commentedThanks for your help platch, and thanks for a much needed module.
> I have seen this behaviour on two separate sites:
> 1. i18n 1.6 and i18nmenu_node alpha 3
> 2. i18n 1.7 and i18nmenu_node beta 1
By upgrading site 1 to i18n 1.7 and i18nmenu_node 1.0-beta1, the problem seems to be fixed. This still doesn't explain the behaviour on site number 2, but it would suggest that the error is not in the i18nmenu_node module. I will keep investigating, and post back here in case I find the solution.
Comment #3
Plant commentedIt turned out that I18n Auto translate modified the menu structure, which caused this behaviour. I deactivated that module, and now it works beautifully.
Comment #4
plachThank you for reporting.