Unified Form support for inline entity forms

Created on 22 October 2019, about 5 years ago
Updated 29 July 2024, 4 months ago

Problem/Motivation

I just noticed that the module does not work with paragraph entities (or I am missing some configuration).

I have a content type with an Entity reference revisions field for paragraphs, but the unified form for translations just works on the node fields, not on the paragraph fields.

These are my translation settings (under /admin/config/regional/content-language):

Node:

Paragraph:

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany daveiano

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.

  • 🇦🇲Armenia le72 Yerevan 🇦🇲

    Hi. Faced exactly same issue in a new project.
    Do you know any alternative solutions (modules) that works with Paragraphs? I need to have site-by-site paragraph fields that are translatable on a single form (node edit form).

  • 🇩🇪Germany jwalcher

    Yeah no, I've stopped developing that site. In my current CMS (headless) I've resorted to simply creating all fields I want translatable multiple times, once in each language I want to support. My frontend then pulls only those required for the user's desired language. This is certainly not good for all edit workflows, but perhaps worth a thought.

  • 🇨🇦Canada joseph.olstad

    an easy workaround for paragraphs using with the side by side mode is to put a non-translatable field for each language in your paragraph.

    example:

    paragraph bundle:
    fields:
    field_example
    field_example_fr
    field_example_de

    field_example2
    field_example2_fr
    field_example2_de

    then preprocess the fields to display when desired.

    All the other field types will work normally, you just need a bit of extra work to get the paragraph to work in this case.

  • 🇨🇦Canada joseph.olstad

    There is one other module for Drupal 10 to try:

    https://www.drupal.org/project/translate_side_by_side

  • 🇨🇦Canada joseph.olstad

    Apparently https://www.drupal.org/project/ translate_side_by_side advertises it'self as working with paragraphs.

    If you try it, please report how it works out.

    It's quite possible etuf could be refactored to support paragraphs . I'll have to take a closer look at this competing module/project.

    etuf is working well for us but I can see the need for more advanced fields in some cases.

Production build 0.71.5 2024