Import of *MT.tmx in Trados Studio 2022 results in empty TM.

I have just installed Trados Studio 2022 as a replacement for my 2019 version. My first translation was sent with 2 tmx-files containing results from machine translation. An import of these files did not result in other than an empty TM.

I followed instructions from another thread and was able to get a result - BUT in Studio the translation does not appear with the mark AT to signal that it concerns a machine translation.

I can tell you that the tmx-content displayed correctly in Studio 2019.

XML code snippet showing DOCTYPE and header information with 'creationtool' labeled as 'TRADOS Translator's Workbench for Windows' and 'adminlang' set to 'EN-US'.

Trados Studio interface displaying a bilingual text comparison with missing 'AT' mark for machine translation on the right side.



Generated Image Alt-Text
[edited by: Trados AI at 11:18 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  •  

    So your problem is not that you import and you get an empty TM?  You solved that one?  It's just that you no longer see an AT status for a TMX created off a machine translation project.  You have highlighted the original translation memory format attribute, which is Translators Workbench and not machine translation specifically.  The important thing is that the creationID is "MT!".

    However, this will only work in later versions of Studio if the SDLTM was created in an older version of Studio.  The reason for this is that a few years ago a decision was taken to change the import behaviour so that the act of importing was essentially considered an approval on your part for the segments to be used as a Translation Memory... ie. they are now approved and not just unedited MT.

    The best solution I can suggest is you penalise the TM you created from this TMX so it always gets a 99% match or lower.  IF you have imported the TMX into an existing SDLTM already then create a filter mismatch penalty so you get the results like this when they come from TUs created by MT!:

    Screenshot of Trados Studio showing a translation result with a 99% match score and a filter mismatch penalty of -1% for machine translation.

    Created here:

    Screenshot of Trados Studio project settings with a filter penalty named 'MT!' set to a penalty of 1 for translation units created by 'MT!' in the Translation Memory and Automated Translation settings.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 11:18 AM (GMT 0) on 29 Feb 2024]
  • Hi,

    We have also recently discovered this issue with these MT TMX files. After a little experimenting, we have found the following:

    It seems that in order for segments to be displayed as "AT" in Studio, the TMX files need the following configuration:

    • o-tmf="TW4Win 2.0 Format" in the header element and <tu creationid="MT!"> for the segments, or
    • o-tmf="SDL TM8 Format" in the header element, and both <prop type="x-Origin">MachineTranslation</prop> and <prop type="x-ConfirmationLevel">Draft</prop> in the tu elements in the tmx file.

    Apparently, segments to be interpreted as "AT", the Confirmation level should be set to Draft (this is implied in the TW4Win version). However, Studio 2022 seems to have disabled Draft in the list of confirmation levels by default when importing TMX files. 

    The goal therefore is to convince Studio 2022 to import segments that have Draft status.

    We have found two possible workarounds for Studio 2022:

    1. Programmatically, for automated project preparation: add ConfirmationLevel.Draft to ConfirmationLevels when setting import settings:

    private void SetImportSettings(SdlImportSettings imp, bool allowDraft = false)
    {
      imp.CheckMatchingSublanguages = false;
      imp.NewFields = SdlImportSettings.NewFieldsOption.AddToSetup;
      imp.ExistingFieldsUpdateMode = SdlImportSettings.FieldUpdateMode.Merge;
    
      List<ConfirmationLevel> levellist = new List<ConfirmationLevel>();
      levellist.Add(ConfirmationLevel.ApprovedTranslation);
      levellist.Add(ConfirmationLevel.ApprovedSignOff);
      levellist.Add(ConfirmationLevel.Translated);
      if (allowDraft) levellist.Add(ConfirmationLevel.Draft); // this is the key
    
      imp.ConfirmationLevels = levellist.ToArray();
      imp.ExistingTUsUpdateMode = SdlImportSettings.TUUpdateMode.AddNew;
      imp.PlainText = false;
      imp.TagCountLimit = 10;
      imp.IncrementUsageCount = true;
      imp.IsDocumentImport = true;
    }
     

    2. For manual import, a little trick is needed:

    1. Save a blank text file with the extension sdlxliff (e.g. "empty.sdlxliff") somewhere handy
    2. In Studio2022, open the Import dialog for the TM to import the MT tmx file into
    3. Select both the MT tmx file and "empty.sdlxliff" in the list of files to be imported. This will enable the Bilingual Document Import Options step.
    4. At the Bilingual Document Import Options step, check Draft.
    5. Import. You will get an error line for "empty.sdlxliff" but the MT contents will be imported, and the AT tag will be displayed in the Translation Results window.

    This way, you can keep using the original tmx output format  (o-tmf="TW4Win 2.0 Format" and <tu creationid="MT!"> for the segments).

    Having said all the above, I (and presumably many of our colleagues) would really appreaciate it if Trados could (re-)include ConfirmationLevel.Draft in the list of default ConfirmationLevels for TMX import, or at least make the option available in a user-friendly way for Studio 2022 (and later).

    Best regards,

    Attila

    emoji
  •   fyi.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
Reply Children