Skip to main content

What is Azure Translator document translation?

Document translation is a cloud-based machine translation feature of Azure Translator in Foundry Tools. Translate multiple and complex documents across all supported languages and dialects while preserving original document structure and data format. The Document translation API supports two translation processes:
  • Asynchronous batch translation supports the processing of multiple documents and large files. The batch translation process requires an Azure Blob storage account with storage containers for your source and translated documents.
  • Synchronous single file supports the processing of single file translations. The file translation process doesn’t require an Azure Blob storage account. The final response contains the translated document and is returned directly to the calling client.

Prerequisites

Asynchronous batch translation prerequisites

Before you start, you need:

Synchronous translation prerequisites

Before you start, you need:
Store subscription keys in a secure location such as Azure Key Vault, and avoid putting keys in source control.

Key features

How document translation works

Document translation supports two workflows. Choose the approach that matches your scenario.

Asynchronous (batch)

  1. Upload source documents to your source container.
  2. Submit a batch translation request.
  3. Monitor job and document status.
  4. Download translated documents from your target container.
For detailed request/response flows, see the Document translation REST API reference guide.

Synchronous

  1. Send a request that includes one document (and an optional glossary).
  2. Receive the translated document in the response.
For request details and examples, see Synchronous document translation.

Development options

Add document translation to your projects and applications using the following development options.
Foundry portal currently supports synchronous (single-file) document translation only. Use the REST API or client libraries for asynchronous batch document translation.
Use asynchronous workflows to translate multiple documents and large files.

Supported document and glossary formats

The following tables list the document and glossary file formats supported by each translation method.

Batch document supported formats

The Get supported document formats method returns a list of document formats supported by the Document translation service. The list includes common file extensions and content types.

Batch Legacy file types

Source file types are preserved during the document translation with the following exceptions:

Batch glossary supported formats

Document translation supports the following glossary file types:

Document translation request limits

For detailed information about Translator request limits, see Document translation request limits.

Document translation data residency

Document translation data residency depends on the Azure region where your Translator resource was created: ✔️ Feature: Document translation
✔️ Service endpoint: Custom domain: https://<your-resource-name>.cognitiveservices.azure.com

Troubleshooting

Use the following checks to diagnose common issues.

Batch translation

Synchronous translation