In our current project all nodes are translated using "Entity Translation" and "Entity Translation Menu" is enabled.

After the Upgrade to 7.x-1.8 the language default of a menu item is loaded in a node edit form instead the translated one. If the node is saved, the menu item translation gets replaced by the language default.
I had no time yet to take a closer look, if i18n_menu or entity_translation_i18n_menu causes the problem.

A downgrade to 7.x-1.7 solves the problem at the moment.

Comments

jose reyero’s picture

Status: Active » Postponed (maintainer needs more info)

I had no time yet to take a closer look, if i18n_menu or entity_translation_i18n_menu

Well, then reopen the issue when you can.

mkalkbrenner’s picture

maybe it's a todo for entity translation, see #1889084: Menu translation tests broken

plach’s picture

Please try the latest i18n dev.

mkalkbrenner’s picture

There're only two commits since 7.x-1.8 release without any functional change:
http://drupalcode.org/project/i18n.git/commit/3e290cd
http://drupalcode.org/project/i18n.git/commit/128a512

plach’s picture

I was suggesting because with the lastet dev of i18n ET menu tests were passing.

berdir’s picture

Status: Postponed (maintainer needs more info) » Active

I'm experiencing this on a client site currently as well. Does not happen on all nodes, I am not sure what the difference exactly is.

entity_translation 7.x-1.0-beta2 and i18n 7.x-1.8.

Scenario:
1. A node with a menu set to LANGUAGE_NONE. The node source is german, translated to french and italian. same for the menu item.
2. Edit the node while the site language is italian, so you are editing the italian translation.
3. The menu title is displayed in german (source)
4. Save the node, without changing anything.
5. The german source menu title is explicitly saved as the italian translation and overwrites that.

I am not sure what exactly the expected behavior is but 3 and 5 are conflicting. Either it should display the italian translation in the form or it should not save what it displays as the italian translation.

mkalkbrenner’s picture

In our case, the menu title already gets exchanged during loading the node edit form. For sure, if you save this form, the menu title gets exchanged in the database.

@Berdir:
Can you second that menu title is changed in the edit form already before you save a node?

mkalkbrenner’s picture

see #1941080: Menu translation on node form is broken

The problem seems to affect more users. And it's simple to reproduce.

What about a session of i18n and entity_translation developers to solve this as a team?

bforchhammer’s picture

I think this is a duplicate of #1941080: Menu translation on node form is broken, which I just fixed on the ET side of things.

bforchhammer’s picture

Status: Active » Closed (duplicate)