Impossibile yo translate paragraph content when parente has "Hide non translatable fields"

Created on 4 December 2024, 14 days ago

Problem/Motivation

Impossibile to translate paragraphs when parent entity has the option "hide non translatable fields" enabled.

Steps to reproduce

Setup a multilanguage site.
Create a paragraph and mark it as translatable, add translatable fields.
Add the paragraph to an entity and make it translatable. The paragraph in the entity is set not translatable as per instructions.
Now check "Hide non translatable fields" in parent.
The paragraph does not appear in parent translation form, even if the paragraph itself is translatable.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.18

Component

Code

Created by

🇮🇹Italy giuse69

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

Comments & Activities

  • Issue created by @giuse69
  • 🇨🇭Switzerland berdir Switzerland

    We specifically implemented features to make this work in Drupal core, I don't know the details of your setup, but this is possible and tested. Make sure you're using entity reference revisions fields.

  • 🇮🇹Italy giuse69

    Hi, this is the complete scenario:
    -) a content type with a paragraph field (entity reference revisions with reference type = Paragraph). This content type is set to Translatable while the paragraph field not (as required).
    -) The paragraph type has a non translatable field and a translatable field - just a plain text field, let's call it "para name".
    Now:
    -) if I uncheck "Hide non translatable fields" in the content type => all fields appear when translating the content type. Correct.
    -) If I check "Hide non translatable fields" in the content type => nothing of the paragraph appears when translating, neither the "Para name" sub-field. Issue.
    If you need more details or tests, I am available.
    thanks

    Giuse

Production build 0.71.5 2024