SDLMTCloud Pre-translation

We have a working application that automates the creation of projects via Trados Studio Automation using FileBasedProject and its related API objects.  This processing include pre-translation and publishing to the GroupShare server.  The current implementation runs on Studio 2019 and uses the BeGLobal engine.  We are upgrading to Studio 2021 and using the SDLMTCloud engine.

We get fully pre-translated projects with BeGLobal and 2019, however now when we run on 2021 using SDL MT Cloud, we successfully generate the project, but no pre-translation occurs.  When opening the project manually and pushing the SDL MT translation everything works well.

In digging through source code in Sdl-Community/SDLMTCloud.Provider at master · RWS/Sdl-Community · GitHub, I see a function IsStudioRunning() being used as a gatekeeper in some of the code.  I don't believe that Studio would be considered to be running in our use case, so trying to find out if this is why we don't get pre-translation.  Does anyone know if that is the logic applied to the processing fro SDLMT CLoud?

emoji
  • Hi  ,

    I have added an item on our board to followup on Monday, to confirm if there are any new issues that we are not aware of; internal ref. SDLCOM-3817

    Until then, can you please provide me with some additional info, as follows:

    • Release version of Trados Studio 2021
    • Release version of the SDL MT Cloud plugin
      • Is the plugin signed?
    • Error log or exceptions
    • If possible, also provide me with the source code of the project automation (phartnett@rws.com)
      • I'm mostly interested in the plugin configuration file

    Patrick Andrew Hartnett | RWS Group

    emoji
    • Trados Studio: 16.2.9.9198
    • SDL MT Cloud Plugin: 3.1.3.0
      • not sure if it's signed, how do I check?
    • No exceptions logged, everything just seems to work from the code perspective
    • Not allowed to post the source code to a community forum, but it's the same source code I shared a month or two ago when working with you on our prior problem.  No longer calling AddBeGlobal() method in that source, just a new function to push the SDL MT credentials into the project
      • Where would I find the plugin configuration file?
    emoji
  •  

    Not allowed to post the source code to a community forum

    Perhaps you can put it into a private github account and then invite Patrick to review.  This is far more helpful and would also allow him to comment more appropriately on the code, and even suggest changes where appropriate.

    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
  • Hi  , you'll need to use a different version of the plugin that is compatible with Trados Studio 2021 (16.2.x).  Version 3.1.3.0 of the plugin is compatible with Trados Studio 2019 (15.1.x); please make reference to the changelog for this plugin Language Weaver (formally SDL MT Cloud). 

    Version 4.2.x of the plugin is compatible with Trados Studio 2021 (16.2.x.x). 

    I recommend to reconfirm, testing with the compatible version of the plugin (for Trados Studio 2021), in this case 4.2.x and/or updating to the latest version of the plugin that is compatible with Trados Studio 2019 (e.g. 3.2.10.x), available from here: archived versions

    Patrick Andrew Hartnett | RWS Group

    emoji
  • Thanks Patrick, we'll give that a try.

    Chris

    emoji
  • Hi  , I have reviewed this issue this evening and confirm that the latest versions of the Language Weaver providers are functioning correctly with the latest product releases of Trados Studio for 2019 & 2021, via the Project Automation API

    I have prepared a sample project that you can use to test the latest releases of the Language Weaver provider against latest releases of Trados Studio 2019, 2021 & 2022, as follows:

    Sample Code Projects


    Prerequisites

    Download and install the latest signed releases of Language Weaver plugins to support Trados Studio 2022, 2021 & 2019.  You can get the latest releases to support Trados 2022 and 2021 from the Private AppStore.  To recover the latest release that supports Trados Studio 2019, you'll need to download it from here:

    • Language Weaver 5.0.2.2 / Trados Studio 2022
    • Language Weaver 4.2.18.3 / Trados Studio 2021
    • Language Weaver 3.2.10.1 / Trados Studio 2019

    Important: the plugins need to be signed; they will not run against the Project Automation API if they are not signed for Trados Studio 2021 & 2022

    Setup / Run

    • The developer should open the sample project (mentioned above) in Visual Studio 2019 or 2022 as Administrator
    • Update the TODO variables from the Program.cs file
    • Compile the project. Note: the executable will be built into the relevant Trados Studio installation directory.
    • Run/Debug the project from VS, or from the command line prompt...

    Example:

    let me know how it goes,
    P.

    Patrick Andrew Hartnett | RWS Group

    emoji
  • Hi Patrick, 

    Looks like I have the unsigned version of the plug-in, I will get the signed version and test with your sample code.

    Chris

    emoji
  • We are getting a failure to login to our account on the app store:

    "An error occurred while processing your request.

    IMPORTANT MESSAGE: we are still experiencing difficulties following a recent server outage and this will affect your ability work with the RWS AppStore"


    emoji
  •  

    I'm not sure why you're logging in, but you only need to go to https://appstore.rws.com/ and you'll find what you need there.  You don't need to login at all to download a plugin.

    List of Trados Studio versions available for download: Trados Studio 2022 - 5.0.2.2, SDL Trados Studio 2021 - 4.2.18.3, SDL Trados Studio 2019 - 3.2.10.1.

    In fact the app is this one: https://appstore.rws.com/plugin/9/

    If you need older versions than this you can find them here in the archived versions section:  Archived Versions: Language Weaver 

    Hope that helps.

    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 4:09 AM (GMT 0) on 5 Mar 2024]
  • Patrick indicated we needed to log into the private App Store to get the signed version. I believe the public store version is unsigned 

    emoji
1 2 3 4