Automatic analysis task fails in Studio 2022 when using TM with Chinese characters

Hello,

We are experiencing Sdl.ProjectApi.AutomaticTasks.Analysis failing when using TMs containing Chinese characters. This is somewhat similar to the issue brought up here:  [Help needed] Trados Studio 2021 API Error:The type initializer for 'Sdl.Core.LanguageProcessing.ICU2.WordBoundaryFinder' threw an exception.
In this case though, no exception is thrown, but the task simply returns with the failed status and the message "One or more errors occurred", which sadly does not tell us a lot about what the problem might be.
We have also already implemented the solution to the linked issue in our program.

In my own system, this problem began to occur after updating my Trados Studio 2022 version from 17.0.4.13209 to 17.0.6.14902.

Any help is greatly appreciated.

Best regards,
Bram van der Steen

emoji
Parents
  • Same issue here when trying to call this line of code:

    this.tm.LanguageDirection.AddTranslationUnit(tu, new ImportSettings());

    where tu is a translation unit with target language set as var tu = new TranslationUnit(sourceSegment, new Segment(new CultureInfo("zh-CN")));

    I am also on Trados Studio 2022, version 17.0.6.14902

    I have also included this on my App.config file, but it does not have any effect:

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="icu.net" publicKeyToken="416fdd914afa6b66" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-2.7.0.0" newVersion="2.7.0.0" />
            </dependentAssembly>
        </assemblyBinding>

    Please can you check this out?

    emoji
Reply
  • Same issue here when trying to call this line of code:

    this.tm.LanguageDirection.AddTranslationUnit(tu, new ImportSettings());

    where tu is a translation unit with target language set as var tu = new TranslationUnit(sourceSegment, new Segment(new CultureInfo("zh-CN")));

    I am also on Trados Studio 2022, version 17.0.6.14902

    I have also included this on my App.config file, but it does not have any effect:

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="icu.net" publicKeyToken="416fdd914afa6b66" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-2.7.0.0" newVersion="2.7.0.0" />
            </dependentAssembly>
        </assemblyBinding>

    Please can you check this out?

    emoji
Children