Content translation source is not taken into account for paragraphs in case of translation of host entity.

Created on 14 July 2022, almost 2 years ago
Updated 24 January 2024, 5 months ago

Problem/Motivation

I have content type with paragraph reference field.
I can create node with en-int original language and de translation
Then if I want to create de-DE translation based on de, I can select translation source language on translation edit form. In such case new translation will be based on selected language, but paragraph translations are based on original language.

Steps to reproduce

  1. Create translatable paragraph type
  2. Create translatable content type with paragraph reference field
  3. Enable 3 languages
  4. Create node with default language 1
  5. Add translation to language 2 and translate paragraphs too
  6. Add translation to language 3 based on language 2
  7. Check if default values of paragraph widget based on language 1 translation

Proposed resolution

In entity_reference_revisions_entity_revision_create we can check if entity has content_translation_source field and try to load source language translation of the target entity to use as source for new translation

πŸ› Bug report
Status

Active

Version

1.11

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia vladimir.krupin

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024