Translations not work for Acquia Site Studio

Created on 21 May 2025, 3 months ago

Problem/Motivation

Translations are not working for Acquia site-studio components type field. It creates the translation and shows correctly on the Job Item page, but when completing the job, it only translates the non-site studio fields, not the site studio bits.

Steps to reproduce

  • Request translation for a node with site-studio components attached.
  • It will show all the fields translated on the "Job Item " page.
  • Save the node or Save as Completed.
  • Go to the translated node and you should see the site-studio components text untranslated.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia saxenaakansha30 New Delhi, India

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

Comments & Activities

  • Issue created by @saxenaakansha30
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia saxenaakansha30 New Delhi, India
  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom scott_euser

    Sounds like a problem for the TMGMT module not for here. Worth checking their issue queue for anything related to acquia site studio there.

    This module just provides a bridge between the AI module and the TMGMT module is all

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia saxenaakansha30 New Delhi, India

    TMGMT works with Site Studio, as mentioned in Acquiaโ€™s documentation: https://sitestudiodocs.acquia.com/8.1/user-guide/translations-using-tmgmt.

    The Google Translator (tmgmt_google) plugin for TMGMT (similar implementation) also works well with Site Studio.

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom scott_euser

    Okay cool, happy to see a merge request then. I won't be able to review as I don't use acquia site studio so you may need to get someone from acquia themselves to review if you don't want to rely on patching. But let's see what your merge request looks like and perhaps if your change does no harm could be merged without external review.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia saxenaakansha30 New Delhi, India

    Hi Scott,

    Sorry for the confusion. After some more debugging, I saw that the translation text structure is the same as what the Google Translator plugin creates. You were right, the real problem is with how TMGMT handles referenced entities, not with this module.

    Thanks for the help. Sorry again for my earlier message.

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom scott_euser

    No problem at all, not sure best status but I guess will mark as a duplicate of the related issue you link to. Hope you manage to find the solution you need!

Production build 0.71.5 2024