- 🇨🇦Canada OwilliwO Montreal
Hi !
I'm facing the same issue, and have been able to reproduce it on a fresh site-install.
- Drupal 10.3.1
- Layout Builder enabled
- Content translation enabled
- Language are:
- default: english
- other: french
- Layout Builder Symmetric Translation enabled
- Content moderation enabled (draft, published, archived)
- Moderation sidebar enabled
I've created a content type which is translatable, has the default body/description field and is using layout builder as full display.
I've allowed users to override the default layout for each node.
Now, when I create a page in english, then add a simple content block (inline) in the layout, publish my page, then translate it, and go to the translation layout edition, I can translate the block the publish the french version.
Until here, I'm fine. I can even edit the french or english layouts, as long as it remain published.The issues I'm facing start when I create a new draft from my published version (typical usecase: I want to prepare a V2 of my page to publish it later in the evening).
I create a draft from my english (original) version then add a new block in the layout, with some new content.Then I want to prepare the french V2 of my page, but it's impossible, because when editing the translated layout, seems like I'm working on the published revision, instead of the latest.
This would explain why:
- I can't see the newly created english block, so I can't prepare its translation
- if I still try to update the translation, it will only translate the published revision layout
I plan on investigating this a bit more.
Obviously any help would be appreciated.This is quite a big pain for the edition team on my project: they are not able to prepare both english and french version of an already published page in order to publish both version at the same time. They can "plan" the publication of the new original version, but then they have to set the new translated version ASAP, which can be problematic, especially when several important pages are at stake.
Composer file attached to this comment.