What is Cloud Translation?
Cloud Translation enables your websites and applications to dynamically translate text programmatically through an API. Cloud Translation uses a Google pre-trained or a custom machine learning model to translate text. By default, Cloud Translation uses a Google pre-trained Neural Machine Translation (NMT) model, which Google updates on semi-regular cadence when more training data or better techniques become available.
Cloud Translation can translate text for more than 100 language pairs. If you don't know the language of your source text, Cloud Translation can detect it for you. For a list of all of the supported languages, see Supported languages.
Cloud Translation scales seamlessly and allows unlimited character translations per day. However, there are restrictions on content size for each request and request rates. Additionally, you can use quota limits to manage your budget. For more information, see Quotas and limits.
Example use case
As an enterprise organization, you can include translated text in existing internal workflows. For example, you might have a global support team that receives customer cases in many different languages. You can add Cloud Translation into your workflow to translate those customer cases into the native language of your support team members.
By using Cloud Translation, you improve the overall efficiency of your support team because they don't need to manually translate text themselves or rely on others.
Cloud Translation editions
Cloud Translation offers two editions:
- Cloud Translation - Basic (v2)
- Cloud Translation - Advanced (v3)
Both editions support language detection and translation. They also use the same Google pre-trained model to translate content. Cloud Translation - Advanced includes features such as batch requests, AutoML custom models, and glossaries. For example, if you want to consistently translate terms that are specific to your use case, you can use glossaries to do that.
The edition you use depends on which version of the client libraries or service endpoint that you use.
If you are planning a new project, build your application with Cloud Translation - Advanced to take advantage of new features and service improvements. Cloud Translation - Basic remains available, but does not support new features like using glossaries, requesting batch translations, or using AutoML models.
For a comparison between the two editions, see Comparing Basic and Advanced.
Migrate to Advanced from Basic
If already have existing applications that use Cloud Translation - Basic, you can migrate them to use Cloud Translation - Advanced. To use Cloud Translation - Advanced, you must update applications to use, for example, service accounts and the Advanced edition client libraries. For more information, see Migrating to Cloud Translation - Advanced.
AutoML custom models
AutoML Translation is a separate service for building custom models. With AutoML Translation, you import your own data (sentence pairs) to train custom models for your domain-specific needs. You can then use the custom models with Cloud Translation - Advanced. For example, you can use AutoML Translation to create a custom model tailored for translating financial information. You can then use these custom models with Cloud Translation - Advanced for translating financial reports.
You can use AutoML custom models with Cloud Translation - Advanced only; Cloud Translation - Basic doesn't support custom models.
For more information about AutoML, see the AutoML Translation documentation.
Cloud Translation charges you on a monthly basis based on the number of characters that you send. For more information, see Pricing.
- To start using the API, get set up and then try one of the quickstart guides.
- For answers to general questions about Cloud Translation, see the General FAQ page.