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?

Parents Reply
  • 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


    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 / Trados Studio 2022
    • Language Weaver / Trados Studio 2021
    • Language Weaver / 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...


    // TODO: Set location where to find the source files
    var sourceFilesDirectory = @"c:\temp\source files folder";
    // TODO: Set location for the project output folder... projects will be created here in sub-folders
    var projectsDirectory = @"c:\temp\projects";
    if (!Directory.Exists(projectsDirectory))
    // TODO: Set the source and target language combination
    var sourceLanguage = "en-US";
    var targetLanguage = "it-IT";
    // TODO: Set the credentials for Language Weaver
    var memory = new MemoryResource
        Uri = new Uri("sdlmtcloud:///"),
        UserNameOrClientId = "TODO: UserName Or ClientID",
        UserPasswordOrClientSecret = "TODO: UserPassword Or ClientSecret"
    CreateProject(sourceFilesDirectory, projectsDirectory, sourceLanguage, targetLanguage, memory);

    let me know how it goes,