Unified Form support for inline entity forms

Created on 22 October 2019, over 4 years ago
Updated 7 May 2024, about 2 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 β†’

Production build 0.69.0 2024