Original layoutbuilder blocks missing after ai translate

Created on 25 April 2025, about 1 month ago

Problem/Motivation

After using AI Translate to translate a layoutbuilder page (asymmetric) with blocks from Dutch to French, then the French translation is ok but suddenly almost all blocks are missing on the original Dutch page (placeholders remain where the blocks used to be, the original blocks themselves seem to no longer have any content)

Steps to reproduce

  • Site default language: Dutch.
  • Additional languages: English and French.
  • Content type 'Page' has a layout_builder__layout field that is translatable.
  • I'm using ai_translate_lb_asymmetric, layout_builder_at, ai, ai_translate
  • I have sevaral block content types like hero, text, image etc. None of the block fields is translatable.
  • For AI model I'm using Claude Sonnet via ai_provider_anthropic
  • I create a page with sections, a hero block, some text blocks etc in Dutch (original language).
  • I click translate and translate the page to French via 'Translate using claude-3-sonnet-latest'.
  • It takes some time, but I successfully see a French page with all the same blocks as my original page and all texts translated (yeay!).
  • Now I switch back to my original page (Dutch) and I see that only my first (dutch) hero block is still working, all the rest of the blocks seem missing. When editing the layout I see some placeholder texts instead of the missing blocks.
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium flyke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024