Only First Language Obeys "Suggestions" List

Created on 28 June 2022, over 2 years ago
Updated 3 April 2023, over 1 year ago

Problem/Motivation

When sending jobs to Smartling, we often send multiple languages for translation at the same time. Our content also very regularly includes sub-content, such as a Node that references a Media entity (that references a File entity). When we submit translation jobs, we add these sub-items via the "Suggestions" fieldset on the job checkout page, just before sending to Smartling.

We have found that by the time the job reaches Smartling, only the first language in the job requested receives the suggestions. Any subsequent languages receive only the top-most node, not the media or file entities added through suggestions.

Steps to reproduce

Tested using TMGMT Smartling 8.x-5.2 and TMGMT 8.x-1.13, on Drupal 9.3.15

  1. Click the "Translate" tab on any piece of content that also contains a reference field of any kind (Taxonomy, Media, File upload, etc)
  2. Select multiple languages to translate the piece of content into and click the TMGMT "Request Translation" button
  3. Using the "Suggestions" fieldset on the right of the checkout form, add one or more related items (Taxonomy, Media, File, etc) to be submitted along with the job.
  4. Select the "File exchange" provider
  5. Select "HTML" as the file format
  6. Check the "Submit all 2 translation jobs with the same settings" checkbox (note with a provider like Smartling, this checkbox is required and locked)
  7. Create the job by clicking "Submit to provider and continue".
  8. View the created job HTML files by clicking the link in the status messages.
  9. The file for the first language will contain all the strings from the suggestion list. All other languages will contain only the strings from the original node.

Proposed resolution

All languages should receive the same suggestion list as the first language in the job when using the "submit with same settings" checkbox. This is particularly problematic for the Smartling provider, require locks this checkbox and requires it.

πŸ› Bug report
Status

Closed: duplicate

Version

1.13

Component

Source: Node

Created by

πŸ‡ΊπŸ‡ΈUnited States quicksketch

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.

Production build 0.71.5 2024