Compétences Azure AI Text Translation SDK for Python
📦

Azure AI Text Translation SDK for Python

Sûr 🔑 Variables d’environnement🌐 Accès réseau

Azure AI Translatorでテキストを翻訳

Pythonアプリケーションに多言語サポートを追加する必要がありますか?このスキルには、翻訳、音声変換、言語検出、ディクショナリ操作を含むAzure AI Translatorのプロダクション対応パターンが含まれています。

Prend en charge: Claude Codex Code(CC)
🥉 73 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

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

Résultat attendu:

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

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

Résultat attendu:

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

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

Résultat attendu:

こんにちは (Japanese Hiragana)

Audit de sécurité

Sûr
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
Fichiers analysés
0
Lignes analysées
2
résultats
1
Total des audits

Facteurs de risque

🔑 Variables d’environnement
Aucun emplacement spécifique enregistré
🌐 Accès réseau
Aucun emplacement spécifique enregistré
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
100
Sécurité
83
Conformité aux spécifications

Ce que vous pouvez construire

多言語カスタマーサポート

グローバルユーザーにネイティブ言語でサービスを提供するために、顧客からの問い合わせとサポート応答の翻訳を自動化します。

コンテンツローカライゼーションパイプライン

コンテンツ管理ワークフローに翻訳を統合して、ドキュメント、ウェブサイト、またはマーケティング資料を世界中で公開します。

言語学習アプリケーション

言語学習者向けの翻訳、ディクショナリ定義、使用例を提供する教育ツールを構築します。

Essayez ces prompts

基本翻訳
Translate the following text to Spanish using Azure AI Translator: 'Hello, welcome to our service. How can we help you today?'
多言語翻訳
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.'
言語検出と翻訳
Detect the language of this customer message and translate it to English: 'Bonjour, j'ai un probleme avec ma commande. Pouvez-vous m'aider?'
使用例付きディクショナリ検索
Look up the Spanish translations for the English word 'run' with usage examples showing different meanings (verb: to move quickly, noun: a series, etc.)

Bonnes pratiques

  • 可能な限りセキュリティ向上のため、APIキーではなくEntra ID認証を使用
  • API呼び出しを減らすため、複数の翻訳リクエストをバッチ処理(最大100テキスト)
  • 翻訳精度を向上させるため、既知の場合はソース言語を明示的に指定

Éviter

  • APIキーや認証情報をソースコードに直接ハードコードしないでください
  • パスワード、トークン、個人識別情報などの機密データの翻訳を避けてください
  • 重要なワークフローの自動言語検出のみに依存しないでください

Foire aux questions

Azure AI Translatorへの認証方法は?
AzureリソースキーとリージョンでAPIキー認証を使用するか、マネージドIDまたはサービスプリンシパル認証にDefaultAzureCredentialを使用してEntra ID(推奨)を使用できます。
翻訳ではどの言語がサポートされていますか?
Azure AI Translatorは翻訳用に100以上の言語をサポートしています。get_supported_languagesメソッドを使用して、言語コードとネイティブ名を含む完全な現在リストを取得できます。
HTMLコンテンツをマークアップを壊すことなく翻訳できますか?
はい。translateリクエストでtext_typeを'html'に設定してください。サービスはHTMLタグを保持しながら、タグ間のテキストコンテンツのみを翻訳します。
音声変換とは何ですか?またいつ使用すべきですか?
音声変換はテキストをある記述スクリプトから別のスクリプトに変換します(例:ラテン文字から日本語文字)。発音を保持しながら別のスクリプトでテキストを表示する必要がある場合に使用します。
翻訳で不適切な言葉をどのように処理しますか?
profanity_actionパラメータを'NoAction'、'Deleted'、または'Marked'の値で使用します。Markedの場合、profanity_marker設定に基づいてアスタリスクまたはXMLタグを使用して不適切な言葉が検閲されます。
単一リクエストで複数のテキストを翻訳できますか?
はい。bodyパラメータにテキストの配列(最大100項目)を渡します。これにより、各テキストに対して別々のAPI呼び出しを行うよりも効率的です。

Détails du développeur

Structure de fichiers

📄 SKILL.md