Objective
This article aims to describe step by step how to deploy a TR/engine for an online server on version 9.3 and onwards.
Deploy a Translation Resource, Steps to follow
Login on your Systran Sever user interface with an admin user.
Open the Menu and click on Advanced Configuration:
STEP 1: click on Translation Resourcese tab, then search for the translation resource you want to use (always prefer the resources containing “NMT” when available).
In my example below, I want French to English (fren):
STEP 2: In the given search filter look the Translation engine you are looking for (ENFR)
STEP 3: Select the engine
STEP 4: Add an instance (P.S. For V9 NMT engines 1 instance is enough) and press enter
STEP 5: Create a profile and give the necessary permission via adding a route
IMPORTANT: the Filter resource is a mandatory resource to import, as it is used to process any contennt sent to the interactive translation box and for file translations. To import the Filter, repeat the steps above and search with "filter" in the search box.
The translation resources are now instantiated (you will see "Instances = 1"). To make them available to the users, you must now create a dedicated translation profile for each translation resource. In the Menu , click on Advanced Configuration:
Click on Translation Resources tab, and then click on Create Profile on one of your translation resource as shown below:
Note: You have 2 ways to create a profile (STEP 2 or 3), both give the same results.
Give a name to this profile. For instance you can give the same name as translation resource + add the scope of permissions. In this case the scope of permissions for this profile will be public (all users can use it), so name it like this:
On the next screen, set Public option to Yes if you want to give access to this profile to all users or let it on No then define the granted users or groups into Users or Groups fields.
Now you can finish the translation profile creation by clicking on Submit.
For the Filter resource, you must create a dedicated route (once instantiated) by clicking on Add route option as shown below:
On the pop-up screen, set the Public option to Yes then click on Submit.
Note: Depending on the usage kindly select Public or private route. For the filter it is highly recommended to add a public route.
Go to translations' menu and check the results.
Note: in case your language do not appear in the list, you may have to re-sync your licenses by running as root the following commands (adjust MongoDB password):
mongo -u systranAdmin -p XXXXXXXXXXXXXX --authenticationDatabase admin
use TRSL
db.infos.drop()
use translationResource
db.infos.drop()
exit
systemctl restart systran-trs-\* && systemctl status systran-trs-\*