Currently, the "Modify entity values" operation can only modify fields of the same language as the entity source language. It's true for the entity translation enabled entities.

There is no way way to update field values in other languages. It would be good to provide this ability.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Leksat’s picture

Status: Active » Needs review
FileSize
4.93 KB

Attached patch does the job for me.

colan’s picture

Status: Needs review » Reviewed & tested by the community

Code looks good and works for me.

What I'm interested in now is the source language. I'm using tokens to grab other field data, and it always grabs the default language, even when the current language is something else, but this is another issue.

Andrej Galuf’s picture

#1 doesn't quite work as expected. The unfortunate use of $language causes the options to overwrite global $language for the form. Resubmitting the patch with the variable renamed to $language_option, otherwise no changes.

Andrej Galuf’s picture

Status: Reviewed & tested by the community » Needs review
morybel’s picture

I know it's been a while, but I was missing that feature bad!!

On a side note, I need to add that you have to stay on your original language for it to work. I have wasted my entire morning trying to translate on my second language side. Once I figured I was not on the right side language, everything started working as expected.

Thank you for this patch.

Andrey Inkin’s picture

Status: Needs review » Reviewed & tested by the community

#3 is working well, thanks @Leksat and @Andrej Galuf for doing great job!
Would be great to have this feature added in.

Chris Matthews’s picture