Paragraphs are not saved in batch mode

Created on 5 June 2025, about 1 month ago

Problem/Motivation

When I translate a node with a paragraph, the paragraphs are not in the translated node.

I have a node which contains a title and a paragraph. The paragraph contains a text field. After batch translation, the paragraph is not saved in the translation. It only contains the title. Translating an identical node per form works well.

Debugging the code shows, that the paragraphs are translated in batch mode, but do not appear in the translated node.

I added this to the Utility.php file, function batchTranslateField(), see attached patch
$translated_entity->save();
This solved the problem for me.

Steps to reproduce

  • create a paragraph type which contains a text field
  • create a node type which contains this paragraph type
  • make the paragraph and node type translatable
  • create a node and fill out the title and text field
  • list the content, mark the new node
  • select Auto translate as Action and click Apply to selected items
🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇩🇪Germany Martin Mayer Germany and Philippines

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

Comments & Activities

Production build 0.71.5 2024