Keeping ContentBlocks resources synchronized with Babel?

Hey, I keep running into the same problem with multilingual sites. When updating documents, changes have to be made in all linked resources (DE, EN, FR, etc.). For example, if I replace an image and move a headline within ContentBlocks in the German version. I then have to make this change manually in the other resources (linked via Babel).

I guess you have the same problem and no solution for it? I already asked this in the forum: Multilanguage Website with Contexts and Contentblocks

ContentBlocks 2.0 could promise change here, but according to Mark, it is not yet ready for productive use.

Kirby CMS has an approach for this: GitHub - Daandelange/kirby-TranslatedLayout: A layout field with embedded translation logic. · GitHub

In any case, I wondered today whether AI could help with this. In my idea, I installed ContentBlocks 1.0, BabelTranslate with OpenAI, and VersionX.

The following process:

  1. I create a resource in the DE context and set up all fields in ContentBlocks.
  2. Then I translate the resource into the EN context using BabelTranslate.
  3. Now I make a change to the resource in the EN context because I don’t really like one sentence. VersionX creates a revision for this.
  4. Now I change a headline in the resource in the DE context.

When I generate another translation using BabelTranslate, my change in the resource in the EN context is overwritten.

But would it be possible to include the version history from VersionX in the translation and use a prompt to prevent changes to manually modified content?
Presumably, the revision created using BabelTranslate needs an indicator so that only manual changes are taken into account.

That’s my rough idea. I’d be happy to hear your feedback @markh, @muzzwood, @jako and everyone else :grinning_cat: