Machine Translation (MT)

Translating with Google AutoML

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.


To successfully integrate with Smartling, the following permissions should be granted:

  1. Method: projects.locations.models.list
  2. Method: projects.locations.models.get
  3. Ensure the service user has the following permissions:
    • cloudtranslate.generalModels.predict
    • automl.models.predict
    • cloudtranslate.glossaries.predict

Creating an MT Profile in Smartling

  1. In the Account Settings dropdown, click on Integrations
    • Alternatively, you can access the MT Profiles page from the Project Settings > Workflow Configuration > Translation step > Manage Step > Create MT Profile
  2. Click on the MT Profiles tab
  3. Click on Create MT Profile
  4. Define a name under Profile Name
    • The name is visible in the Smartling UI
  5. Choose Google AutoML Translation from the MT Provider dropdown
  6. 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 beus-central1 or eu
    • JSON credentials: copy and paste the entire JSON file into this field, including the brackets

    • 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}}
  7. (Optional) Click Test Credentials to ensure the credentials are correct.
    • Ensure all fields are complete before testing (including the Profile Name).
  8. (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

Was this article helpful?