I'm working on a Drupal 8 site, using its built in "Content Translation" module for multilingual purposes. Workbench Moderation seems to work well enough with it, when I go to edit a node it says "Save and send for editor review (this translation)". The "this translation" in parenthesis there would seem to imply that this workflow state transition will only happen for the current translation I'm on, however after I click that it updates the workflow state for ALL translations.

To be honest, I don't really mind that. But it appears to be a bug, as the "this translation" definitely implies it won't happen for all translations. Can anyone offer some support here? Is this the intended behavior, or is it a bug? If it's not a bug, why does the label imply otherwise?

Comments

imjohnbon created an issue.

alemadlei’s picture

Have you had any luck with a solution for this?

alemadlei’s picture

So I discovered in workbench_moderation_actions.module that this function workbench_moderation_actions_entity_operation that this line

$entity = $moderation_information->getLatestRevision($entity->getEntityTypeId(), $entity->id());

Is changing the language of the entity to always refer to the default language.

Still researching this.

supertony’s picture

Any updates for this issue? This is pretty big for our website as we have many instances where a given translation may not be published.

alemadlei’s picture

supertony, I believe that this was corrected by the time I commented on this. Are you experiencing this problem?

supertony’s picture

Hi alemadlei, I am on Drupal 8.3.7, and have the following versions of WB:

- Workbench 8.x-1.0-beta1
- Workbench Moderation 8.x-1.2
- Workbench Access 8.x-1.0-alpha5
- Workbench Email 8.x-1.0-alpha6

Do I need to update my core and or WB modules?

Thank you.

supertony’s picture

This was a configuration issue on my end. I didn't have the publishing status (found at /admin/config/regional/content-language) for my content type checked. Once I checked it, the translations publishing status is now independent.

samar.alazzeh’s picture

#7 is working on this case