Google's Translation LLM can be used as a translation provider in Smartling.
The setup process for using Google's Translation LLM is largely the same as for Google AutoML:
- If you already use Google AutoML, you can reuse the same API key, since both services use the Google Cloud Translation v3 API.
- You will need to create a Google AutoML MT Profile for translating with the Google Translation LLM. The setup process is largely the same, with one key difference: when setting up the MT Profile, you must provide the relevant path to your Google Cloud project in the Model ID field.
Example Translation LLM model path:projects/{project-number-or-id}/locations/{location-id}/models/general/translation-llm
Tip: For more information see our documentation on Translating with Google AutoML.
Setting up Google Translation LLM as your translation provider
To use the Google Translation LLM as a translation provider in Smartling, you first need to create a provider credential for Google AutoML, and then use it to create an MT Profile.
Creating a provider credential
If you would like to bring your own API key, please create a provider credential in Smartling by following the steps outlined below. Alternatively, reach out to your Smartling Customer Success Manager who can provision provider credentials for you.
- From the top navigation of your Smartling dashboard, access the AI Hub.
- Navigate to the Credentials section.
- Create a new provider credential
- Choose Google AutoML Translation from the MT Provider dropdown. (Select Google AutoML Translation even if you are using Google Translation LLM, since both use the same Google API.)
- 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-central1oreu - JSON credentials: copy and paste the entire JSON file into this field, including the brackets
-
Project ID:
Creating a Translation Profile
The provider credential can now be used to create an MT Profile.
- From the top navigation of your Smartling dashboard, access the AI Hub.
- Click into the Translation Profiles section.
- Click Create MT Profile
- Choose Google AutoML Translation from the provider dropdown. (Select Google AutoML Translation even if you are using Google Translation LLM, since both use the same Google API.)
- 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: Provide the full path to the Translation LLM.
- Example:
projects/{project-number-or-id}/locations/{location-id}/models/general/translation-llm
- Example:
-
Custom Language Code: Use this field 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: Insert 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}}
-
Model ID: Provide the full path to the Translation LLM.
- (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.
Using Google Translation LLM to translate your content
Once the MT Profile has been successfully created, you can now use it to translate your content with Google's Translation LLM, either in a translation workflow, to provide MT suggestions in the CAT Tool, or with one of Smartling's instant MT integrations.