azure-ai-translation-ts

Translate and transliterate text and documents using Azure Translation REST SDKs.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-translation-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-ai-translation-ts
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-ai-translation-ts
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-translation-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the complexity of integrating Azure Translation REST SDKs into TypeScript projects by providing clear usage patterns for text translation, transliteration, language detection, and batch document translation.

Core Features & Use Cases

  • Text translation and language detection: Translate text to multiple targets and auto-detect source languages using the text client.
  • Transliteration: Convert scripts (for example, Chinese Hans to Latin) while preserving pronunciation data.
  • Document and batch translation: Submit single documents or batch jobs against Azure Document Translation using SAS URLs for secure storage and monitor job status.
  • Use case: Localize user-facing content and bulk document archives by generating translated outputs and tracking translation job status across containers.

Quick Start

Use the azure-ai-translation-ts skill to translate a short English string to Spanish with the text client while supplying your TRANSLATOR_SUBSCRIPTION_KEY and TRANSLATOR_REGION environment variables.

Frequently Asked Questions about azure-ai-translation-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate text to multiple target languages using Azure Translation in TypeScript?

Azure text translation in TypeScript uses the @azure-rest/ai-translation-text client to translate strings to multiple targets. You provide the source text and target language codes, and the client returns the translated outputs directly.

How do I set up Azure Translator authentication for a TypeScript project?

Azure Translator setup in TypeScript requires a TRANSLATOR_ENDPOINT and either a TRANSLATOR_SUBSCRIPTION_KEY with TRANSLATOR_REGION or DefaultAzureCredential. These environment variables authenticate your requests to the REST SDKs.

Can I transliterate scripts like Chinese to Latin while preserving pronunciation in TypeScript?

Transliteration in TypeScript converts scripts such as Chinese Hans to Latin using the Azure text client. The operation preserves pronunciation data, allowing you to generate target script outputs from source text.

What's the best way to handle batch document translation securely in Azure?

Batch document translation in Azure uses the @azure-rest/ai-translation-document client with SAS URLs for secure storage. You submit batch jobs against containers and monitor the translation job status until completion.

Does Azure AI Translation support automatic language detection for source text?

Automatic language detection is supported by the Azure text translation client in TypeScript. The SDK auto-detects the source language of the input text before performing the translation or transliteration operation.

Why do I need to handle isUnexpected responses when using Azure Translation REST SDKs?

Handling isUnexpected responses is required to manage error states when calling Azure Translation REST SDKs in TypeScript. This check ensures your application catches non-success HTTP status codes returned by the text or document clients.