Problem/Motivation
Part of #3044386: [META] Make Layout Builder layouts translatable
Right now you are not able to translate layouts at all.
The most common use case is probably translating the block labels and inline blocks but having the actual layouts not change from language to language. For different layout per language: see #3040487: Allow Independent Layout Override Translations
Proposed resolution
- Provide access to the Layout table on translations
- On Translations the Layout builder would only allow translating labels and inline blocks
- Translated settings for block would be stored a new field that would be translatable(the current Layout field would still be untranslatable)
- Most blocks could only have labels as translated settings
- Inline blocks could additionally have a block revision ID stored.
Remaining tasks
Get#3013197: Cloning an implementation of SectionListInterface does not deep clone the Section or SectionComponent objectscommitted.- Write more tests for Inline blocks. <-- We are here.
- Needs update path test for existing content before this change