If you use Google's AutoML MT, you can integrate it into Smartling and use it as an MT for a Translation workflow step and even as the MT resource in the CAT Tool.
Using Smartling's MT Profile feature, you can securely store the Google AutoML MT credentials in Smartling, and assign the profile to any MT workflow step and even as the MT resource in the CAT Tool. The required credentials are found in an exported JSON file from your Auto ML account. For steps on how to export this JSON file, read the AutoML documentation.
Permissions
To successfully integrate with Smartling, the following permissions should be granted:
- Method: projects.locations.models.list
- Method: projects.locations.models.get
-
Ensure the service user has the following permissions:
cloudtranslate.generalModels.predict
automl.models.predict
cloudtranslate.glossaries.predict
Setting up Google AutoML as your MT provider
To use Google AutoML as your MT provider in Smartling, you first need to set up a provider credential and then use it to create an MT Profile.
Creating a provider credential for Google AutoML
If you would like to bring your own MT key, please create a provider credential for Google AutoML in Smartling by following the steps outlined below. Alternatively, reach out to your Smartling Customer Success Manager who can provision provider credentials for you.
- In the Account Settings dropdown, click on Machine Translation Settings
- Click into the Provider Credentials tab
- Create a new provider credential
- Choose Google AutoML Translation from the MT Provider dropdown
- Select a credential name to reflect the selected provider, as well as any other relevant information
-
Complete all required fields by entering the credentials from the exported JSON file as follows:
-
Project ID:
example_project_id
-
Location: your location will either be
us-central1
oreu
-
JSON credentials: copy and paste the entire JSON file into this field, including the brackets
-
Creating an MT Profile
The provider credential can now be used to create an MT Profile.
- In the Account Settings dropdown, click on Machine Translation Settings
- Click into the Profiles tab
- Click Create MT Profile
-
Define a name under Profile Name
- The name is visible in the Smartling UI
- Choose the provider credential you created earlier for Google AutoML.
-
Complete all required fields:
-
Model ID: This is the custom model name for the entire MT engine, if applicable.
-
/locations/{{your-location}}/models/{{your-model-id}}
-
-
Custom Language Code: Use this fields only if your custom MT model uses locales which are not supported by Google AutoML, insert the custom language code here.
- Leave blank to use default language code mapping
-
Glossary ID: is custom glossary name, if applicable
- Both the Smartling Glossary and your AutoML Glossary work together, meaning the two lists of terms are referenced and used in your translations
- Insert the entire path, e.g.:
projects/{{your-project-ID}}/locations/{{your-location}}/glossaries/{{your-glossary-ID}}
-
-
(Optional) Click Test Integration to ensure that the MT Profile is fully functional.
- Ensure all fields are complete before testing (including the Profile Name).
-
(Optional) Define language-specific credentials and rules.
- This only applies if you have multiple custom models/glossaries and want to use them only for specific language pairs but not others.
-
Bilateral Mode: enabling this feature allows for specific language pairs to be machine translated as both source > target and target > source.
- This allows you to reverse the language pairs and leverage source content as translations.