Dev & Engineering ✓ Microsoft · Official azure-ai-translatordocument-translationpython-sdkbatch-translationblob-storagesas-tokenstranslation-glossary

Azure Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

FollowSkills review · FSRS-2.0
Not recommended
52/ 100 5-point scale 2.6 / 5
Trust17 / 25 · 3.4/5

The documentation prefers DefaultAzureCredential, constrains production credential chains, and specifies least-privilege SAS permissions while exposing the source/target Blob URLs and API-key configuration. Points are deducted because it does not clearly address sensitive-document handling, cross-border/third-party transfer, user confirmation, SAS leakage protection, or rollback; the cancellation example also lacks impact-scope guidance.

Reliability6 / 20 · 1.5/5

The skill covers batch, single-document, status, and async paths, and its references explicitly call for checking the current API. Points are deducted because key snippets lack complete context (for example, some imports and endpoint definitions), the main document incorrectly shows get_supported_languages() on DocumentTranslationClient while the reference corrects it, and abnormal-input, retry, timeout, and exception guidance is thin.

Adaptability9 / 15 · 3.0/5

Trigger phrases, Python SDK scope, batch document translation, format preservation, and major formats are reasonably clear. Points are deducted because non-fit scenarios, regional/network requirements, cost, and quotas are under-specified; the core service depends on Azure, while mainland-China reachability, data residency, and Chinese-language coverage are not established.

Convention10 / 15 · 3.3/5

The skill has front-matter metadata, installation and environment-variable notes, authentication/lifecycle guidance, layered references, examples, format/storage requirements, MIT licensing, and version 1.0.0 metadata. Points are deducted for no changelog, SDK version pinning, explicit maintenance/update path, or systematic FAQ; advanced scenarios are terse and the main and reference documents are inconsistent.

Effectiveness6 / 15 · 2.0/5

It can directly guide common batch, multi-target, single-document, status, and glossary workflows, with a clear core benefit. Points are deducted because several snippets require completion of imports, variables, and environment setup; the incorrect language-discovery example can cause rework, and production error handling, result validation, and recovery are incomplete.

Verifiability4 / 10 · 2.0/5

The skill provides auditable code, configuration names, API calls, and reference files; the repository materials also show CI, evaluation workflows, and harness tests. Points are deducted because the supplied material shows no skill-specific test suite, real execution output, or independent corroboration; generic CI and harness evidence cannot statically verify this skill's key paths.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not copy every snippet directly into production: correct the language-discovery API and complete imports, endpoints, variables, and dependencies first.
  • Source and translated documents are transferred through Azure Blob/SAS; confirm sensitive-data handling, region, network reachability, SAS lifetime/permissions, and organizational compliance before deployment.
  • Cancellation, target-container writes, and multi-language batch jobs have external side effects; confirm scope and add handling for exceptions, polling timeouts, partial failures, and recovery.
See the full review method →

What it does & when to use it

This skill guides Python developers using the Azure AI Document Translation SDK for batch and single-document translation. It covers document formats including DOCX, PDF, XLSX, and PPTX, along with Blob Storage configuration, authentication, and SAS permissions. Examples include multiple target languages, status monitoring, document-level failures, cancellation, glossaries, supported-format and language discovery, and synchronous or asynchronous clients. It is best suited to Python applications already using Azure AI Translator and Azure Blob Storage.

Shows how to install azure-ai-translation-document, configure the document translation endpoint and source and target container URLs, and submit jobs with DocumentTranslationClient or SingleDocumentTranslationClient. It demonstrates translating DOCX, PDF, PPTX, XLSX, HTML, TXT, RTF, CSV, TSV, JSON, XML, XLIFF, XLF, and MHTML files; waiting for batch completion; inspecting operation and document statuses; handling document errors; cancelling jobs; applying glossaries; and querying supported formats and languages.

  1. A Python developer needs to batch-translate DOCX, PDF, or Excel files stored in Azure Blob Storage into one or more languages.
  2. An application team needs format-preserving translation for business documents at scale.
  3. A developer needs to translate one local DOCX file and save the translated output.
  4. An engineering team needs to monitor long-running jobs and count succeeded and failed documents.
  5. A localization team needs glossary-based terminology consistency for domain-specific translations.

Pros & cons

Pros
  • Covers batch translation, single-document translation, multiple target languages, glossaries, and job management.
  • Clearly recommends DefaultAzureCredential and explains local-development and production configuration.
  • Provides both synchronous and asynchronous client examples.
  • Documents the required Blob Storage SAS permissions.
Limitations
  • Requires an Azure AI Document Translation endpoint and Azure Blob Storage source and target containers.
  • Batch translation depends on SAS URLs for storage access, adding deployment and permission-management work.
  • The source provides no pricing, quota, or service-limit information.
  • The referenced references/capabilities.md and references/non-hero-scenarios.md files were not supplied, so their additional coverage cannot be assessed.

How to install

Install the collection for the coding agent by running npx skills add microsoft/skills and selecting this skill in the wizard; the collection is installed in the selected agent's skills directory. Then install the Python package with pip install azure-ai-translation-document. The source does not specify a required Python version.

How to use

Prompt a coding agent with one of the documented triggers, such as: Use the azure-ai-translation-document-py skill to create an async batch translation job from Azure Blob Storage to Spanish and French. Set AZURE_DOCUMENT_TRANSLATION_ENDPOINT, AZURE_SOURCE_CONTAINER_URL, and AZURE_TARGET_CONTAINER_URL. Prefer DefaultAzureCredential, use client context managers, submit the job, wait for the poller, and inspect document-level statuses.

FAQ

Do I have to use an API key?
No. The skill recommends DefaultAzureCredential for new code; AzureKeyCredential is presented for existing keyed deployments that have not migrated to Entra ID.
What storage permissions are required?
The source container needs Read and List permissions, while the target container needs Write and List permissions. Both must be Azure Blob Storage containers.
How are partial document failures handled?
After polling the operation, inspect aggregate counts and call list_document_statuses to retrieve each document's status and error details.
Is this skill suitable for offline translation?
No offline workflow is documented. The examples depend on the Azure document translation endpoint and Blob Storage URLs.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills