Configure XTRF Trados Agent for Machine Translation Engines
Using MT Engine plugins in the Trados Studio integration requires additional configuration in the XTRF Trados Agent.
Prerequisites
The following solution works if you have performed the following:
Installed Trados Studio 2021 or newer on the server with your XTRF Platform.
Installed the latest version of the Trados Agent.
Installed the desired MT Engine plugin in your Trados Studio.
Enabled the MT Engine selection feature described HERE.
MT Engine configuration in XTRF Trados Agent
If you are configuring the list for the first time, enter the XTRF Trados Agent settings, and click on Generate.
A newly created XML configuration file will compile the list of all the installed plugins for the Trados Studio.Â
For subsequent minor changes, just click on the MT Engines Plugins tab.
The list includes all the plugins available for the Trados Agent. The ticked checkboxes next to plugin names highlight the active ones (selectable in XTRF).
Select the plugin by clicking on its name and clicking Edit.
Configuration Attributes
A pop-up window displays the attributes required to configure a particular plugin.
These attributes may include:
Translation Provider Uri
Required with every MT Engine, regardless of authentication method. It is an attribute that Trados uses to bind a Translation Provider with a Project.
To locate it, it’s best to create a project with the said MT Engine and then open the .sdlproj file with Notepad or another text/source code editor. The file will be displayed as an XML document.
Inside the XML document, you will find the TranslationProviderUri at the bottom of the following element tree:
LanguageDirections > LanguageDirection > CascadeItem > CascadeEntryItem >Â MainTranslationProviderItem
Translation Provider Credential Uri
This attribute is additionally required with the API Key authentication. Trados uses it to verify the credentials of a particular MT Engine you’re trying to connect to. Each MT Engine may use a different naming policy, and their proprietors need to be inquired about to obtain this attribute. Alternatively, decompiling the dll library may be attempted to locate the attribute, but it’s best to delegate this task to a trained administrator or try to use online resources.
API Key
This attribute is additionally required with the API Key authentication. It is an attribute that Trados uses to access the API of the proprietor of the MT Engine. The proprietors usually provide the API Keys to Translation Providers or publish online user guides to generating their own API Keys.
User and Password
This attribute is additionally required for individual user data authentication.
State
The additional state of the plugin, next to the URI, is one of two pieces of information that are serialized when a translation provider is added to a Trados Studio project. The state information is not mandatory and may take any form, like additional settings required by the translation provider. The state information is stored in the project and in packages, so it is not recommended to include sensitive information like credentials in there.
The state information is usually part of the ‘TranslationProviderUri.’
After filling in the required values, click on Save and Apply.Â
Result
Trados Agent automatically restarts, and the configured Machine Translation Engines become functional.