Skills Azure AI Text Translation SDK for Python
๐Ÿ“ฆ

Azure AI Text Translation SDK for Python

Safe ๐Ÿ”‘ Env variables๐ŸŒ Network access

Translate text with Azure AI Translator

Need to add multilingual support to your Python applications? This skill provides production-ready patterns for Azure AI Translator including translation, transliteration, language detection, and dictionary operations.

Supports: Claude Codex Code(CC)
๐Ÿ“Š 70 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings โ†’ Capabilities โ†’ Skills โ†’ Upload skill

3

Toggle on and start using

Test it

Using "Azure AI Text Translation SDK for Python". Translate 'Good morning, how can I assist you?' to Spanish and French

Expected outcome:

Spanish: 'Buenos dias, como puedo ayudarte?' | French: 'Bonjour, comment puis-je vous aider?'

Using "Azure AI Text Translation SDK for Python". Detect language and translate: 'Danke fur Ihre Hilfe'

Expected outcome:

Detected: German (confidence: 0.99) | Translation: 'Thank you for your help'

Using "Azure AI Text Translation SDK for Python". Transliterate 'konnichiwa' from Latin to Japanese script

Expected outcome:

ใ“ใ‚“ใซใกใฏ (Japanese Hiragana)

Security Audit

Safe
v1 โ€ข 2/24/2026

Documentation-only skill with no executable code. Static analysis scanned 0 files and found 0 security issues (risk score: 0/100). The skill teaches proper Azure AI Translator SDK usage including secure credential handling via environment variables and Entra ID authentication. No malicious patterns or prompt injection detected.

0
Files scanned
0
Lines analyzed
2
findings
1
Total audits

Risk Factors

๐Ÿ”‘ Env variables
No specific locations recorded
๐ŸŒ Network access
No specific locations recorded
Audited by: claude

Quality Score

38
Architecture
100
Maintainability
87
Content
31
Community
100
Security
83
Spec Compliance

What You Can Build

Multilingual Customer Support

Automate translation of customer inquiries and support responses to serve global users in their native languages.

Content Localization Pipeline

Integrate translation into your content management workflow to publish documentation, websites, or marketing materials worldwide.

Language Learning Applications

Build educational tools that provide translations, dictionary definitions, and usage examples for language learners.

Try These Prompts

Basic Translation
Translate the following text to Spanish using Azure AI Translator: 'Hello, welcome to our service. How can we help you today?'
Multi-Language Translation
Translate this product announcement to French, German, Japanese, and Chinese simultaneously: 'We are launching a new feature next week that improves performance by 50 percent.'
Language Detection and Translation
Detect the language of this customer message and translate it to English: 'Bonjour, j'ai un probleme avec ma commande. Pouvez-vous m'aider?'
Dictionary Lookup with Examples
Look up the Spanish translations for the English word 'run' with usage examples showing different meanings (verb: to move quickly, noun: a series, etc.)

Best Practices

  • Use Entra ID authentication instead of API keys when possible for better security
  • Batch multiple translation requests together (up to 100 texts) to reduce API calls
  • Specify the source language explicitly when known to improve translation accuracy

Avoid

  • Never hardcode API keys or credentials directly in your source code
  • Avoid translating sensitive data like passwords, tokens, or personal identifiers
  • Do not rely solely on automatic language detection for critical workflows

Frequently Asked Questions

How do I authenticate with Azure AI Translator?
You can use API key authentication with your Azure resource key and region, or use Entra ID (recommended) with DefaultAzureCredential for managed identity or service principal authentication.
What languages are supported for translation?
Azure AI Translator supports over 100 languages for translation. Use the get_supported_languages method to retrieve the complete current list with language codes and native names.
Can I translate HTML content without breaking the markup?
Yes, set text_type to 'html' in your translate request. The service preserves HTML tags while translating only the text content between tags.
What is transliteration and when should I use it?
Transliteration converts text from one writing script to another (e.g., Latin to Japanese characters). Use it when you need to display text in a different script while preserving pronunciation.
How do I handle profanity in translations?
Use the profanity_action parameter with values 'NoAction', 'Deleted', or 'Marked'. When marked, profanity is censored using asterisks or XML tags based on profanity_marker setting.
Can I translate multiple texts in a single request?
Yes, pass an array of texts to the body parameter (up to 100 items). This is more efficient than making separate API calls for each text.

Developer Details

File structure

๐Ÿ“„ SKILL.md