Termbase filename vs. Friendly name - Error: Could not connect to the xxx termbases, so you cannot use them for term recognition.

Hello,

I am creating project with a termbase by automation API. I have a problem with termbase. When I open translatable file in Trados studio, I get the message: “Could not connect to the xxx termbases, so you cannot use them for term recognition. “

When I remove this termbase in Trados Studio and add it back by Trados studio everything is fine.

I find out that the problem is only when the termbase file name is different versus the „termbase friendly name “.

When I add a termbase to project by API, the API sets the termbase name to the file name. When I add a termbase to project in Trados studio, Trados Studio sets the termbase name to the „friendly name of termbase.

E.g.:

File: \\xxx\TM\yyy\EN-US-TR.sdltb ; Friendly name of termbase: EN-US

Added termbase by Trados studio (content of the .sdlproj):

       …
    <Termbases>
      <Name>EN-US</Name>
       …
          <Setting Id="TermbasesOrder">
            <ArrayOfstring …">
              <string>EN-US</string>
            </ArrayOfstring>
          </Setting>
         …..

Added termbase by automation API:

      …
    <Termbases>
      <Name>EN-US-TR</Name>
        …
          <Setting Id="TermbasesOrder">
            <ArrayOfstring xmlns:i=…
              <string>EN-US-TR</string>
            </ArrayOfstring>
          </Setting>
          …

         When I change termbase name mnually from "EN-US-TR" to "EN-US" , everything is fine.

I add termbase by API according this help: http://producthelp.sdl.com/SDK/ProjectAutomationApi/3.0/html/7a0aa922-1aa2-4976-afd3-7637104f2def.htm

 

My version of Trados studio: Trados Studio 2021 SR2 - 16.2.12.9338

 

Is it possible specify termbase name for project when I am adding termbase by API? Or how to resolve it?

 

Thanks’ a lot.

Parents Reply Children
No Data