What is Text Translation?
Text translation is a cloud-based REST API feature of the Translator service that uses neural machine translation technology to enable quick and accurate source-to-target text translation in real time across all supported languages. In this overview, you'll learn how the Text Translation REST APIs enable you to build intelligent solutions for your applications and workflows.
Text translation documentation contains the following article types:
- Quickstarts. Getting-started instructions to guide you through making requests to the service.
- How-to guides. Instructions for accessing and using the service in more specific or customized ways.
- Reference articles. REST API documentation and programming language-based content.
Text translation features
The following methods are supported by the Text Translation feature:
Languages. Returns a list of languages supported by Translate, Transliterate, and Dictionary Lookup operations. This request doesn't require authentication; just copy and paste the following GET request into Postman or your favorite API tool or browser:
Translate. Renders single source-language text to multiple target-language texts with a single request.
Transliterate. Converts characters or letters of a source language to the corresponding characters or letters of a target language.
Detect. Returns the source code language code and a boolean variable denoting whether the detected language is supported for text translation and transliteration.
You can Translate, Transliterate, and Detect text with a single REST API call .
Dictionary lookup. Returns equivalent words for the source term in the target language.
Dictionary example Returns grammatical structure and context examples for the source term and target term pair.
Text translation deployment options
Add Text Translation to your projects and applications using the following resources:
Access the cloud-based Translator service via the REST API, available in Azure.
To use the Translator container you must complete and submit the Azure Cognitive Services Application for Gated Services online request form and have it approved to acquire access to the container.
The Translator container image supports limited features compared to cloud offerings.
Get started with Text Translation
Ready to begin?
Create a Translator resource in the Azure portal.
Get your access keys and API endpoint. An endpoint URL and read-only key are required for authentication.
Explore our Quickstart and view use cases and code samples for the following programming languages:
Dive deeper into the Text Translation REST API: