Configure XTRF Trados Agent for Machine Translation Engines
Using MT Engine plugins in the Trados Studio integration requires additional configuration in the XTRF Agent for Trados Studio (Agent).
Prerequisites
The following solution works if you have performed the following actions:
Installed Trados Studio 2022 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 in the How to select any MT Engine in XTRF - Trados integration guide.
MT Engine configuration in the XTRF Agent for Trados Studio
If you are configuring the list for the first time:
Right-click the Agent icon in the system tray and select Settings. A popup will be displayed.
In the General Settings tab, click the Generate button.
Â
Â
A newly created XML configuration file will compile the list of all the installed plugins for the Trados Studio.Â
For subsequent minor changes, perform the following steps:
Select the MT Engines Plugins tab. It displays a list of all the plugins available for the Agent. The ticked checkboxes next to plugin names highlight the active ones (selectable in XTRF).
Select the plugin by clicking on its name, then click the Edit button. A pop-up containing attributes required to configure a specific plugin will be displayed.
Â
Configure the required attributes. For details, see the Configuration attributes section below.
Click the Save button, then the Apply button. The Agent automatically restarts, and the configured Machine Translation Engines become functional.
Configuration attributes
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 the Translation Provider URI, create a project with the required MT Engine and 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 for 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 for API Key authentication. It is an attribute that Trados uses to access the API of the MT Engine proprietor. The proprietors usually provide the API Keys to Translation Providers or publish online user guides for generating their own API Keys.
User and Password
This attribute is additionally required for individual user data authentication.
State
The plugin’s additional state, 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 packages, so it is not recommended to include sensitive information like credentials.
The state information is usually part of the ‘TranslationProviderUri.’