Zero full matches for Japanese and Chinese with API, not with Trados client

We have had a few instances where the analyse result generates a log with zero full matches for Japanese and Chinese when the log is created using the API. When the log is created with the Trados client it generates full matches.

For other languages the number of full matches is the same when using the API or the client.

This has started since we updated to Trados 2022. It seems to be the case only for languages without spaces.

Has this already been noticed by someone else?

emoji
Parents Reply
  • Hi  , After reviewing this issue again this evening, I now confirm that we can successfully pretranslate the files for the language directions you mentioned above.  I have prepared a sample project that you can use to test on your environment, download/clone from here: Project Automation sample (2022)

    tks also to  for his outstanding support with investigating the issue from the Studio implementation.

    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:

    // 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))
    {
        Directory.CreateDirectory(projectsDirectory);
    }
    
    // TODO: Set the source and target language combination
    var sourceLanguage = "en-US";
    var targetLanguage = "it-IT";
    
    // TODO: Provide the memory resource, Path etc..
    var memory = new MemoryResource
    {
        Path = @"C:\temp\mytm.sdltm"
    };
    
    CreateProject(sourceFilesDirectory, projectsDirectory, sourceLanguage, targetLanguage, memory);

    emoji
Children