Paragraph translations not created when adding paragraphs via Frontend Editing
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3570168. -->
Reported by: [refs](https://www.drupal.org/user/3743599)
Related to !162
>>>
<p>It’s me again. Here’s the situation:</p>
<p>I create a new node in English and add a text paragraph. After saving the node, I create a German translation and translate the paragraph content.</p>
<p>Later, in the frontend, I realize that I need an additional paragraph. So I use the Add function provided by Frontend Editing to create a new text paragraph in English.</p>
<p>When I then switch to German in the frontend to translate this newly added paragraph, and save it, the paragraph ends up having the same content in both languages. No separate translation is created, unlike the behavior in the backend.</p>
<p>The edit form from the <code>paragraph_edit</code> module handles exactly this case in its <code>init()</code> method. However, this method is never called in this frontend editing workflow.</p>
<p>The reason seems to be the line <code>$form_state->set('entity_form_initialized', TRUE);</code> in <code>FrontendEditingFormBuilder::buildEditForm()</code>. Since I don’t know why this was introduced, I have not provided a fix yet, but this logic should not be executed for paragraphs, as it prevents proper translation handling.</p>
issue