Translate content with paragraph

Created on 20 September 2023, about 1 year ago
Updated 5 February 2024, 9 months ago

Problem/Motivation

When translating with Deepl, fields of type "paragraph" are not saved with the translation.

Steps to reproduce

When translating content with paragraphs, Deepl asks me to validate the fields contained in these paragraphs.
When I click on "Save as completed", it creates the paragraphs in the translated content but with the French values...


I use the "Paragraphs Asymmetric Translation Widgets" module to manage asynchronous translations.

Does anyone have any idea whether this is a bug in the Deepl module or a configuration in Drupal?

Thanks in advance

🐛 Bug report
Status

Closed: works as designed

Version

2.1

Component

Code

Created by

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.

  • I have the exact same issue. Any ideas anybody?

  • 🇩🇪Germany SteffenR Germany

    Can you share your configuration of the paragraphs field and the widget settings?

    Looks like a confguration issue, since the review process/ validation is not part of the tmgmt_deepl itself. The review/ validation is handled via the tmgmt module. tmgmt_deepl "only" provides a plugin to use the possibilities of deepL.

    We are using the same combination on one of our clients projects without any problem.

  • 🇩🇪Germany SteffenR Germany

    @miki_mike & @desch:
    Can you give more information on your configuration?
    Have you tried another translation service?
    Please read my comment above and give steps to reproduce.

    Thx

  • Hello @StephenR,

    Thank you for your feedback

    This is how my field is configured :



    Normally, when the "Paragraphs Asymmetric Translation Widgets" module is installed, the error message "(* unsupported) Paragraphs fields do not support translation" is no longer red but yellow, isn't it?

    I've just done another test and Deepl does show me the translation of the paragraph fields, but when I save, I don't get the EN values.

    Can you show me the configuration of your "paragraph" field with the "Paragraphs Asymmetric Translation Widgets" module and the result of the translation via Deepl?

    Thank you in advance.

  • 🇩🇪Germany SteffenR Germany

    @miki_mike
    Sorry for letting you wait for such a long time.
    I just tested a similar setup in a D10.2 installation and can reproduce the behaviour. I'll need to spend some time looking a possible causes.
    Usually the process of the translator plugin "ends" before adding the translations - this is handled via tmgmt itself.
    In the review of translation you can see, that the translated texts are correct, but sth goes wrong while completing the job/ adding the translations to the new node (independent from choosing auto accept or review).

  • Status changed to Closed: works as designed 9 months ago
  • 🇩🇪Germany SteffenR Germany
Production build 0.71.5 2024