Paragraphs functionality is not working when editing translation

Created on 15 January 2024, 11 months ago
Updated 3 April 2024, 9 months ago

Problem/Motivation:

I cannot add additional paragraphs when editing an asynchronous translation. nor can i move the ones i already have.

Steps to reproduce

Access a piece of content -> translate -> edit and look at paragraphs behaviour, verify that you can not move the existing paragraphs and the button to add another is not there.
(look at images for more clarification.)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: won't fix

Version

1.8

Component

User interface

Created by

πŸ‡³πŸ‡±Netherlands bram.velthoven

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

Comments & Activities

  • Issue created by @bram.velthoven
  • πŸ‡³πŸ‡±Netherlands Johan den Hollander

    I took a shot at creating a patch that seems to do the job!

    I looked at some lines from the paragraphs_asymmetric_translation_widgets module and added an extra check to make sure that module exists and applied these lines in the paragraphs_previewer module.

  • Status changed to Closed: won't fix 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States recrit

    This is not an issue with the paragraphs previewer module. The paragraphs previewer module simply provides a field widget for paragraphs fields that extends the paragraphs module's field widget. The reported expected behavior is only for when the "\paragraphs_asymmetric_translation_widgets is used
    .
    Default / Expected behavior when only using the paragraphs module with translations: Paragraphs cannot be re-ordered or added for the translation.

    If the paragraphs module natively supports asymmetric translations in the future, then the paragraphs preview module will as well since it extends the paragraphs widget. Until then, you can handle this in custom code for your site build by implementing a hook_field_widget_info_alter() and change the "class" for the "paragraphs_previewer" widget to your custom class.

Production build 0.71.5 2024