[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-microsoft-azure-ai-translation-text-py":3,"mdc-tt4m9a-key":40,"related-repo-microsoft-azure-ai-translation-text-py":2219,"related-org-microsoft-azure-ai-translation-text-py":2322},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":35,"sourceUrl":38,"mdContent":39},"azure-ai-translation-text-py","translate text using Azure AI services","Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications.\nTriggers: \"text translation\", \"translator\", \"translate text\", \"transliterate\", \"TextTranslationClient\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"microsoft","Microsoft","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmicrosoft.png",[12,16,17,20],{"name":13,"slug":14,"type":15},"Azure","azure","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Python","python",{"name":21,"slug":22,"type":15},"API Development","api-development",2804,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills","2026-07-18T05:14:16.988376","MIT",315,[29,30,14,31,32,33,34],"agent-skills","agents","foundry","mcp","sdk","skills",{"repoUrl":24,"stars":23,"forks":27,"topics":36,"description":37},[29,30,14,31,32,33,34],"Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fskills\u002Ftree\u002FHEAD\u002F.github\u002Fplugins\u002Fazure-sdk-python\u002Fskills\u002Fazure-ai-translation-text-py","---\nname: azure-ai-translation-text-py\ndescription: |\n  Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications.\n  Triggers: \"text translation\", \"translator\", \"translate text\", \"transliterate\", \"TextTranslationClient\".\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"1.0.0\"\n  package: azure-ai-translation-text\n---\n\n# Azure AI Text Translation SDK for Python\n\nClient library for Azure AI Translator text translation service for real-time text translation, transliteration, and language operations.\n\n## Installation\n\n```bash\npip install azure-ai-translation-text\n```\n\n## Environment Variables\n\n```bash\nAZURE_TRANSLATOR_ENDPOINT=https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com  # Required for Entra ID auth (must be a custom subdomain endpoint)\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n# Only required for the legacy API-key auth path below:\nAZURE_TRANSLATOR_KEY=\u003Cyour-api-key>\nAZURE_TRANSLATOR_REGION=\u003Cyour-region>  # e.g., eastus, westus2; required when authenticating with a key against the global endpoint\n```\n\n## Authentication & Lifecycle\n\n> **🔑 Two rules apply to every code sample below:**\n>\n> 1. **Prefer `DefaultAzureCredential`.** It works locally (Azure CLI \u002F VS Code \u002F Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account\u002FAPI keys — they bypass Entra audit and rotation.\n>    - Local dev: `DefaultAzureCredential` works as-is.\n>    - Production: set `AZURE_TOKEN_CREDENTIALS=prod` (or `AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>`) to constrain the credential chain to production-safe credentials.\n> 2. **Wrap every client in a context manager** so HTTP transports, sockets, and token caches are released deterministically:\n>    - Sync: `with \u003CClient>(...) as client:`\n>    - Async: `async with \u003CClient>(...) as client:` **and** `async with DefaultAzureCredential() as credential:` (from `azure.identity.aio`)\n>\n> Snippets may abbreviate this setup, but production code should always follow both rules.\n\n```python\nimport os\nfrom azure.identity import DefaultAzureCredential, ManagedIdentityCredential\nfrom azure.ai.translation.text import TextTranslationClient\n\n# Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\ncredential = DefaultAzureCredential(require_envvar=True)\n# Or use a specific credential directly in production:\n# See https:\u002F\u002Flearn.microsoft.com\u002Fpython\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-python#credential-classes\n# credential = ManagedIdentityCredential()\n\nwith TextTranslationClient(\n    endpoint=os.environ[\"AZURE_TRANSLATOR_ENDPOINT\"],\n    credential=credential,\n) as client:\n    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n```\n\n### Legacy: API Key (existing keyed deployments)\n\nNew code should use `DefaultAzureCredential` above. The Translator service has two specifics that make API-key auth still common in existing deployments:\n\n- **Token-credential auth requires a custom subdomain endpoint** (`https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com`). If you only have the global endpoint (`https:\u002F\u002Fapi.cognitive.microsofttranslator.com`), you must either provision a custom subdomain or stay on the key-based path until you do.\n- **Key + region** is the canonical setup against the global endpoint. The region is sent as the `Ocp-Apim-Subscription-Region` header and is required whenever you use a multi-service or global Translator key.\n\n```python\nimport os\nfrom azure.core.credentials import AzureKeyCredential\nfrom azure.ai.translation.text import TextTranslationClient\n\n# Key + region against the global endpoint (most common keyed setup)\nwith TextTranslationClient(\n    credential=AzureKeyCredential(os.environ[\"AZURE_TRANSLATOR_KEY\"]),\n    region=os.environ[\"AZURE_TRANSLATOR_REGION\"],\n) as client:\n    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n\n# Key against a custom subdomain endpoint (no region required)\nwith TextTranslationClient(\n    endpoint=os.environ[\"AZURE_TRANSLATOR_ENDPOINT\"],\n    credential=AzureKeyCredential(os.environ[\"AZURE_TRANSLATOR_KEY\"]),\n) as client:\n    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n```\n\n## Basic Translation\n\n```python\n# Translate to a single language\nresult = client.translate(\n    body=[\"Hello, how are you?\", \"Welcome to Azure!\"],\n    to=[\"es\"]  # Spanish\n)\n\nfor item in result:\n    for translation in item.translations:\n        print(f\"Translated: {translation.text}\")\n        print(f\"Target language: {translation.to}\")\n```\n\n## Translate to Multiple Languages\n\n```python\nresult = client.translate(\n    body=[\"Hello, world!\"],\n    to=[\"es\", \"fr\", \"de\", \"ja\"]  # Spanish, French, German, Japanese\n)\n\nfor item in result:\n    print(f\"Source: {item.detected_language.language if item.detected_language else 'unknown'}\")\n    for translation in item.translations:\n        print(f\"  {translation.to}: {translation.text}\")\n```\n\n## Specify Source Language\n\n```python\nresult = client.translate(\n    body=[\"Bonjour le monde\"],\n    from_parameter=\"fr\",  # Source is French\n    to=[\"en\", \"es\"]\n)\n```\n\n## Language Detection\n\n```python\nresult = client.translate(\n    body=[\"Hola, como estas?\"],\n    to=[\"en\"]\n)\n\nfor item in result:\n    if item.detected_language:\n        print(f\"Detected language: {item.detected_language.language}\")\n        print(f\"Confidence: {item.detected_language.score:.2f}\")\n```\n\n## Transliteration\n\nConvert text from one script to another:\n\n```python\nresult = client.transliterate(\n    body=[\"konnichiwa\"],\n    language=\"ja\",\n    from_script=\"Latn\",  # From Latin script\n    to_script=\"Jpan\"      # To Japanese script\n)\n\nfor item in result:\n    print(f\"Transliterated: {item.text}\")\n    print(f\"Script: {item.script}\")\n```\n\n## Dictionary Lookup\n\nFind alternate translations and definitions:\n\n```python\nresult = client.lookup_dictionary_entries(\n    body=[\"fly\"],\n    from_parameter=\"en\",\n    to=\"es\"\n)\n\nfor item in result:\n    print(f\"Source: {item.normalized_source} ({item.display_source})\")\n    for translation in item.translations:\n        print(f\"  Translation: {translation.normalized_target}\")\n        print(f\"  Part of speech: {translation.pos_tag}\")\n        print(f\"  Confidence: {translation.confidence:.2f}\")\n```\n\n## Dictionary Examples\n\nGet usage examples for translations:\n\n```python\nfrom azure.ai.translation.text.models import DictionaryExampleTextItem\n\nresult = client.lookup_dictionary_examples(\n    body=[DictionaryExampleTextItem(text=\"fly\", translation=\"volar\")],\n    from_parameter=\"en\",\n    to=\"es\"\n)\n\nfor item in result:\n    for example in item.examples:\n        print(f\"Source: {example.source_prefix}{example.source_term}{example.source_suffix}\")\n        print(f\"Target: {example.target_prefix}{example.target_term}{example.target_suffix}\")\n```\n\n## Get Supported Languages\n\n```python\n# Get all supported languages\nlanguages = client.get_supported_languages()\n\n# Translation languages\nprint(\"Translation languages:\")\nfor code, lang in languages.translation.items():\n    print(f\"  {code}: {lang.name} ({lang.native_name})\")\n\n# Transliteration languages\nprint(\"\\nTransliteration languages:\")\nfor code, lang in languages.transliteration.items():\n    print(f\"  {code}: {lang.name}\")\n    for script in lang.scripts:\n        print(f\"    {script.code} -> {[t.code for t in script.to_scripts]}\")\n\n# Dictionary languages\nprint(\"\\nDictionary languages:\")\nfor code, lang in languages.dictionary.items():\n    print(f\"  {code}: {lang.name}\")\n```\n\n## Break Sentence\n\nIdentify sentence boundaries:\n\n```python\nresult = client.find_sentence_boundaries(\n    body=[\"Hello! How are you? I hope you are well.\"],\n    language=\"en\"\n)\n\nfor item in result:\n    print(f\"Sentence lengths: {item.sent_len}\")\n```\n\n## Translation Options\n\n```python\nresult = client.translate(\n    body=[\"Hello, world!\"],\n    to=[\"de\"],\n    text_type=\"html\",           # \"plain\" or \"html\"\n    profanity_action=\"Marked\",  # \"NoAction\", \"Deleted\", \"Marked\"\n    profanity_marker=\"Asterisk\", # \"Asterisk\", \"Tag\"\n    include_alignment=True,      # Include word alignment\n    include_sentence_length=True # Include sentence boundaries\n)\n\nfor item in result:\n    translation = item.translations[0]\n    print(f\"Translated: {translation.text}\")\n    if translation.alignment:\n        print(f\"Alignment: {translation.alignment.proj}\")\n    if translation.sent_len:\n        print(f\"Sentence lengths: {translation.sent_len.src_sent_len}\")\n```\n\n## Async Client\n\n```python\nfrom azure.ai.translation.text.aio import TextTranslationClient\nfrom azure.identity.aio import DefaultAzureCredential\n\nasync def translate_text():\n    async with DefaultAzureCredential() as credential:\n        async with TextTranslationClient(\n            credential=credential,\n            endpoint=endpoint,\n        ) as client:\n            result = await client.translate(\n                body=[\"Hello, world!\"],\n                to=[\"es\"]\n            )\n            print(result[0].translations[0].text)\n```\n\n## Client Methods\n\n| Method | Description |\n|--------|-------------|\n| `translate` | Translate text to one or more languages |\n| `transliterate` | Convert text between scripts |\n| `detect` | Detect language of text |\n| `find_sentence_boundaries` | Identify sentence boundaries |\n| `lookup_dictionary_entries` | Dictionary lookup for translations |\n| `lookup_dictionary_examples` | Get usage examples |\n| `get_supported_languages` | List supported languages |\n\n## Best Practices\n\n1. **Pick sync OR async and stay consistent.** Do not mix `azure.xxx` sync clients with `azure.xxx.aio` async clients in the same call path. Choose one mode per module.\n2. **Always use context managers for clients and async credentials.** Wrap every client in `with Client(...) as client:` (sync) or `async with Client(...) as client:` (async). For async `DefaultAzureCredential` from `azure.identity.aio`, also use `async with credential:` so tokens and transports are cleaned up.\n3. **Batch translations** — Send multiple texts in one request (up to 100)\n4. **Specify source language** when known to improve accuracy\n5. **Use async client** for high-throughput scenarios\n6. **Cache language list** — Supported languages don't change frequently\n7. **Handle profanity** appropriately for your application\n8. **Use html text_type** when translating HTML content\n9. **Include alignment** for applications needing word mapping\n\n## Reference Files\n\n| File | Contents |\n|------|----------|\n| [references\u002Fcapabilities.md](references\u002Fcapabilities.md) | Additional non-hero capabilities, operation-group coverage, and production checklists. |\n| [references\u002Fnon-hero-scenarios.md](references\u002Fnon-hero-scenarios.md) | Dedicated non-hero examples for secondary\u002Fadvanced scenarios. |\n",{"data":41,"body":45},{"name":4,"description":6,"license":26,"metadata":42},{"author":9,"version":43,"package":44},"1.0.0","azure-ai-translation-text",{"type":46,"children":47},"root",[48,57,63,70,105,111,247,253,390,528,535,547,594,727,733,819,825,899,905,950,956,1031,1037,1042,1126,1132,1137,1236,1242,1247,1344,1350,1507,1513,1518,1578,1584,1722,1728,1846,1852,1999,2005,2152,2158,2213],{"type":49,"tag":50,"props":51,"children":53},"element","h1",{"id":52},"azure-ai-text-translation-sdk-for-python",[54],{"type":55,"value":56},"text","Azure AI Text Translation SDK for Python",{"type":49,"tag":58,"props":59,"children":60},"p",{},[61],{"type":55,"value":62},"Client library for Azure AI Translator text translation service for real-time text translation, transliteration, and language operations.",{"type":49,"tag":64,"props":65,"children":67},"h2",{"id":66},"installation",[68],{"type":55,"value":69},"Installation",{"type":49,"tag":71,"props":72,"children":77},"pre",{"className":73,"code":74,"language":75,"meta":76,"style":76},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pip install azure-ai-translation-text\n","bash","",[78],{"type":49,"tag":79,"props":80,"children":81},"code",{"__ignoreMap":76},[82],{"type":49,"tag":83,"props":84,"children":87},"span",{"class":85,"line":86},"line",1,[88,94,100],{"type":49,"tag":83,"props":89,"children":91},{"style":90},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[92],{"type":55,"value":93},"pip",{"type":49,"tag":83,"props":95,"children":97},{"style":96},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[98],{"type":55,"value":99}," install",{"type":49,"tag":83,"props":101,"children":102},{"style":96},[103],{"type":55,"value":104}," azure-ai-translation-text\n",{"type":49,"tag":64,"props":106,"children":108},{"id":107},"environment-variables",[109],{"type":55,"value":110},"Environment Variables",{"type":49,"tag":71,"props":112,"children":114},{"className":73,"code":113,"language":75,"meta":76,"style":76},"AZURE_TRANSLATOR_ENDPOINT=https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com  # Required for Entra ID auth (must be a custom subdomain endpoint)\nAZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production\n# Only required for the legacy API-key auth path below:\nAZURE_TRANSLATOR_KEY=\u003Cyour-api-key>\nAZURE_TRANSLATOR_REGION=\u003Cyour-region>  # e.g., eastus, westus2; required when authenticating with a key against the global endpoint\n",[115],{"type":49,"tag":79,"props":116,"children":117},{"__ignoreMap":76},[118,164,187,196,220],{"type":49,"tag":83,"props":119,"children":120},{"class":85,"line":86},[121,127,133,138,143,148,153,158],{"type":49,"tag":83,"props":122,"children":124},{"style":123},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[125],{"type":55,"value":126},"AZURE_TRANSLATOR_ENDPOINT",{"type":49,"tag":83,"props":128,"children":130},{"style":129},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[131],{"type":55,"value":132},"=",{"type":49,"tag":83,"props":134,"children":135},{"style":96},[136],{"type":55,"value":137},"https:\u002F\u002F",{"type":49,"tag":83,"props":139,"children":140},{"style":129},[141],{"type":55,"value":142},"\u003C",{"type":49,"tag":83,"props":144,"children":145},{"style":96},[146],{"type":55,"value":147},"resource",{"type":49,"tag":83,"props":149,"children":150},{"style":129},[151],{"type":55,"value":152},">",{"type":49,"tag":83,"props":154,"children":155},{"style":96},[156],{"type":55,"value":157},".cognitiveservices.azure.com",{"type":49,"tag":83,"props":159,"children":161},{"style":160},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[162],{"type":55,"value":163},"  # Required for Entra ID auth (must be a custom subdomain endpoint)\n",{"type":49,"tag":83,"props":165,"children":167},{"class":85,"line":166},2,[168,173,177,182],{"type":49,"tag":83,"props":169,"children":170},{"style":123},[171],{"type":55,"value":172},"AZURE_TOKEN_CREDENTIALS",{"type":49,"tag":83,"props":174,"children":175},{"style":129},[176],{"type":55,"value":132},{"type":49,"tag":83,"props":178,"children":179},{"style":96},[180],{"type":55,"value":181},"prod",{"type":49,"tag":83,"props":183,"children":184},{"style":160},[185],{"type":55,"value":186}," # Required only if DefaultAzureCredential is used in production\n",{"type":49,"tag":83,"props":188,"children":190},{"class":85,"line":189},3,[191],{"type":49,"tag":83,"props":192,"children":193},{"style":160},[194],{"type":55,"value":195},"# Only required for the legacy API-key auth path below:\n",{"type":49,"tag":83,"props":197,"children":199},{"class":85,"line":198},4,[200,205,210,215],{"type":49,"tag":83,"props":201,"children":202},{"style":123},[203],{"type":55,"value":204},"AZURE_TRANSLATOR_KEY",{"type":49,"tag":83,"props":206,"children":207},{"style":129},[208],{"type":55,"value":209},"=\u003C",{"type":49,"tag":83,"props":211,"children":212},{"style":96},[213],{"type":55,"value":214},"your-api-key",{"type":49,"tag":83,"props":216,"children":217},{"style":129},[218],{"type":55,"value":219},">\n",{"type":49,"tag":83,"props":221,"children":223},{"class":85,"line":222},5,[224,229,233,238,242],{"type":49,"tag":83,"props":225,"children":226},{"style":123},[227],{"type":55,"value":228},"AZURE_TRANSLATOR_REGION",{"type":49,"tag":83,"props":230,"children":231},{"style":129},[232],{"type":55,"value":209},{"type":49,"tag":83,"props":234,"children":235},{"style":96},[236],{"type":55,"value":237},"your-region",{"type":49,"tag":83,"props":239,"children":240},{"style":129},[241],{"type":55,"value":152},{"type":49,"tag":83,"props":243,"children":244},{"style":160},[245],{"type":55,"value":246},"  # e.g., eastus, westus2; required when authenticating with a key against the global endpoint\n",{"type":49,"tag":64,"props":248,"children":250},{"id":249},"authentication-lifecycle",[251],{"type":55,"value":252},"Authentication & Lifecycle",{"type":49,"tag":254,"props":255,"children":256},"blockquote",{},[257,266,385],{"type":49,"tag":58,"props":258,"children":259},{},[260],{"type":49,"tag":261,"props":262,"children":263},"strong",{},[264],{"type":55,"value":265},"🔑 Two rules apply to every code sample below:",{"type":49,"tag":267,"props":268,"children":269},"ol",{},[270,326],{"type":49,"tag":271,"props":272,"children":273},"li",{},[274,287,289],{"type":49,"tag":261,"props":275,"children":276},{},[277,279,285],{"type":55,"value":278},"Prefer ",{"type":49,"tag":79,"props":280,"children":282},{"className":281},[],[283],{"type":55,"value":284},"DefaultAzureCredential",{"type":55,"value":286},".",{"type":55,"value":288}," It works locally (Azure CLI \u002F VS Code \u002F Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account\u002FAPI keys — they bypass Entra audit and rotation.\n",{"type":49,"tag":290,"props":291,"children":292},"ul",{},[293,305],{"type":49,"tag":271,"props":294,"children":295},{},[296,298,303],{"type":55,"value":297},"Local dev: ",{"type":49,"tag":79,"props":299,"children":301},{"className":300},[],[302],{"type":55,"value":284},{"type":55,"value":304}," works as-is.",{"type":49,"tag":271,"props":306,"children":307},{},[308,310,316,318,324],{"type":55,"value":309},"Production: set ",{"type":49,"tag":79,"props":311,"children":313},{"className":312},[],[314],{"type":55,"value":315},"AZURE_TOKEN_CREDENTIALS=prod",{"type":55,"value":317}," (or ",{"type":49,"tag":79,"props":319,"children":321},{"className":320},[],[322],{"type":55,"value":323},"AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>",{"type":55,"value":325},") to constrain the credential chain to production-safe credentials.",{"type":49,"tag":271,"props":327,"children":328},{},[329,334,336],{"type":49,"tag":261,"props":330,"children":331},{},[332],{"type":55,"value":333},"Wrap every client in a context manager",{"type":55,"value":335}," so HTTP transports, sockets, and token caches are released deterministically:\n",{"type":49,"tag":290,"props":337,"children":338},{},[339,350],{"type":49,"tag":271,"props":340,"children":341},{},[342,344],{"type":55,"value":343},"Sync: ",{"type":49,"tag":79,"props":345,"children":347},{"className":346},[],[348],{"type":55,"value":349},"with \u003CClient>(...) as client:",{"type":49,"tag":271,"props":351,"children":352},{},[353,355,361,363,368,369,375,377,383],{"type":55,"value":354},"Async: ",{"type":49,"tag":79,"props":356,"children":358},{"className":357},[],[359],{"type":55,"value":360},"async with \u003CClient>(...) as client:",{"type":55,"value":362}," ",{"type":49,"tag":261,"props":364,"children":365},{},[366],{"type":55,"value":367},"and",{"type":55,"value":362},{"type":49,"tag":79,"props":370,"children":372},{"className":371},[],[373],{"type":55,"value":374},"async with DefaultAzureCredential() as credential:",{"type":55,"value":376}," (from ",{"type":49,"tag":79,"props":378,"children":380},{"className":379},[],[381],{"type":55,"value":382},"azure.identity.aio",{"type":55,"value":384},")",{"type":49,"tag":58,"props":386,"children":387},{},[388],{"type":55,"value":389},"Snippets may abbreviate this setup, but production code should always follow both rules.",{"type":49,"tag":71,"props":391,"children":394},{"className":392,"code":393,"language":19,"meta":76,"style":76},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import os\nfrom azure.identity import DefaultAzureCredential, ManagedIdentityCredential\nfrom azure.ai.translation.text import TextTranslationClient\n\n# Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\ncredential = DefaultAzureCredential(require_envvar=True)\n# Or use a specific credential directly in production:\n# See https:\u002F\u002Flearn.microsoft.com\u002Fpython\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-python#credential-classes\n# credential = ManagedIdentityCredential()\n\nwith TextTranslationClient(\n    endpoint=os.environ[\"AZURE_TRANSLATOR_ENDPOINT\"],\n    credential=credential,\n) as client:\n    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n",[395],{"type":49,"tag":79,"props":396,"children":397},{"__ignoreMap":76},[398,406,414,422,431,439,448,457,466,475,483,492,501,510,519],{"type":49,"tag":83,"props":399,"children":400},{"class":85,"line":86},[401],{"type":49,"tag":83,"props":402,"children":403},{},[404],{"type":55,"value":405},"import os\n",{"type":49,"tag":83,"props":407,"children":408},{"class":85,"line":166},[409],{"type":49,"tag":83,"props":410,"children":411},{},[412],{"type":55,"value":413},"from azure.identity import DefaultAzureCredential, ManagedIdentityCredential\n",{"type":49,"tag":83,"props":415,"children":416},{"class":85,"line":189},[417],{"type":49,"tag":83,"props":418,"children":419},{},[420],{"type":55,"value":421},"from azure.ai.translation.text import TextTranslationClient\n",{"type":49,"tag":83,"props":423,"children":424},{"class":85,"line":198},[425],{"type":49,"tag":83,"props":426,"children":428},{"emptyLinePlaceholder":427},true,[429],{"type":55,"value":430},"\n",{"type":49,"tag":83,"props":432,"children":433},{"class":85,"line":222},[434],{"type":49,"tag":83,"props":435,"children":436},{},[437],{"type":55,"value":438},"# Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=\u003Cspecific_credential>\n",{"type":49,"tag":83,"props":440,"children":442},{"class":85,"line":441},6,[443],{"type":49,"tag":83,"props":444,"children":445},{},[446],{"type":55,"value":447},"credential = DefaultAzureCredential(require_envvar=True)\n",{"type":49,"tag":83,"props":449,"children":451},{"class":85,"line":450},7,[452],{"type":49,"tag":83,"props":453,"children":454},{},[455],{"type":55,"value":456},"# Or use a specific credential directly in production:\n",{"type":49,"tag":83,"props":458,"children":460},{"class":85,"line":459},8,[461],{"type":49,"tag":83,"props":462,"children":463},{},[464],{"type":55,"value":465},"# See https:\u002F\u002Flearn.microsoft.com\u002Fpython\u002Fapi\u002Foverview\u002Fazure\u002Fidentity-readme?view=azure-python#credential-classes\n",{"type":49,"tag":83,"props":467,"children":469},{"class":85,"line":468},9,[470],{"type":49,"tag":83,"props":471,"children":472},{},[473],{"type":55,"value":474},"# credential = ManagedIdentityCredential()\n",{"type":49,"tag":83,"props":476,"children":478},{"class":85,"line":477},10,[479],{"type":49,"tag":83,"props":480,"children":481},{"emptyLinePlaceholder":427},[482],{"type":55,"value":430},{"type":49,"tag":83,"props":484,"children":486},{"class":85,"line":485},11,[487],{"type":49,"tag":83,"props":488,"children":489},{},[490],{"type":55,"value":491},"with TextTranslationClient(\n",{"type":49,"tag":83,"props":493,"children":495},{"class":85,"line":494},12,[496],{"type":49,"tag":83,"props":497,"children":498},{},[499],{"type":55,"value":500},"    endpoint=os.environ[\"AZURE_TRANSLATOR_ENDPOINT\"],\n",{"type":49,"tag":83,"props":502,"children":504},{"class":85,"line":503},13,[505],{"type":49,"tag":83,"props":506,"children":507},{},[508],{"type":55,"value":509},"    credential=credential,\n",{"type":49,"tag":83,"props":511,"children":513},{"class":85,"line":512},14,[514],{"type":49,"tag":83,"props":515,"children":516},{},[517],{"type":55,"value":518},") as client:\n",{"type":49,"tag":83,"props":520,"children":522},{"class":85,"line":521},15,[523],{"type":49,"tag":83,"props":524,"children":525},{},[526],{"type":55,"value":527},"    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n",{"type":49,"tag":529,"props":530,"children":532},"h3",{"id":531},"legacy-api-key-existing-keyed-deployments",[533],{"type":55,"value":534},"Legacy: API Key (existing keyed deployments)",{"type":49,"tag":58,"props":536,"children":537},{},[538,540,545],{"type":55,"value":539},"New code should use ",{"type":49,"tag":79,"props":541,"children":543},{"className":542},[],[544],{"type":55,"value":284},{"type":55,"value":546}," above. The Translator service has two specifics that make API-key auth still common in existing deployments:",{"type":49,"tag":290,"props":548,"children":549},{},[550,576],{"type":49,"tag":271,"props":551,"children":552},{},[553,558,560,566,568,574],{"type":49,"tag":261,"props":554,"children":555},{},[556],{"type":55,"value":557},"Token-credential auth requires a custom subdomain endpoint",{"type":55,"value":559}," (",{"type":49,"tag":79,"props":561,"children":563},{"className":562},[],[564],{"type":55,"value":565},"https:\u002F\u002F\u003Cresource>.cognitiveservices.azure.com",{"type":55,"value":567},"). If you only have the global endpoint (",{"type":49,"tag":79,"props":569,"children":571},{"className":570},[],[572],{"type":55,"value":573},"https:\u002F\u002Fapi.cognitive.microsofttranslator.com",{"type":55,"value":575},"), you must either provision a custom subdomain or stay on the key-based path until you do.",{"type":49,"tag":271,"props":577,"children":578},{},[579,584,586,592],{"type":49,"tag":261,"props":580,"children":581},{},[582],{"type":55,"value":583},"Key + region",{"type":55,"value":585}," is the canonical setup against the global endpoint. The region is sent as the ",{"type":49,"tag":79,"props":587,"children":589},{"className":588},[],[590],{"type":55,"value":591},"Ocp-Apim-Subscription-Region",{"type":55,"value":593}," header and is required whenever you use a multi-service or global Translator key.",{"type":49,"tag":71,"props":595,"children":597},{"className":392,"code":596,"language":19,"meta":76,"style":76},"import os\nfrom azure.core.credentials import AzureKeyCredential\nfrom azure.ai.translation.text import TextTranslationClient\n\n# Key + region against the global endpoint (most common keyed setup)\nwith TextTranslationClient(\n    credential=AzureKeyCredential(os.environ[\"AZURE_TRANSLATOR_KEY\"]),\n    region=os.environ[\"AZURE_TRANSLATOR_REGION\"],\n) as client:\n    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n\n# Key against a custom subdomain endpoint (no region required)\nwith TextTranslationClient(\n    endpoint=os.environ[\"AZURE_TRANSLATOR_ENDPOINT\"],\n    credential=AzureKeyCredential(os.environ[\"AZURE_TRANSLATOR_KEY\"]),\n) as client:\n    result = client.translate(body=[\"Hello, world!\"], to=[\"es\"])\n",[598],{"type":49,"tag":79,"props":599,"children":600},{"__ignoreMap":76},[601,608,616,623,630,638,645,653,661,668,675,682,690,697,704,711,719],{"type":49,"tag":83,"props":602,"children":603},{"class":85,"line":86},[604],{"type":49,"tag":83,"props":605,"children":606},{},[607],{"type":55,"value":405},{"type":49,"tag":83,"props":609,"children":610},{"class":85,"line":166},[611],{"type":49,"tag":83,"props":612,"children":613},{},[614],{"type":55,"value":615},"from azure.core.credentials import AzureKeyCredential\n",{"type":49,"tag":83,"props":617,"children":618},{"class":85,"line":189},[619],{"type":49,"tag":83,"props":620,"children":621},{},[622],{"type":55,"value":421},{"type":49,"tag":83,"props":624,"children":625},{"class":85,"line":198},[626],{"type":49,"tag":83,"props":627,"children":628},{"emptyLinePlaceholder":427},[629],{"type":55,"value":430},{"type":49,"tag":83,"props":631,"children":632},{"class":85,"line":222},[633],{"type":49,"tag":83,"props":634,"children":635},{},[636],{"type":55,"value":637},"# Key + region against the global endpoint (most common keyed setup)\n",{"type":49,"tag":83,"props":639,"children":640},{"class":85,"line":441},[641],{"type":49,"tag":83,"props":642,"children":643},{},[644],{"type":55,"value":491},{"type":49,"tag":83,"props":646,"children":647},{"class":85,"line":450},[648],{"type":49,"tag":83,"props":649,"children":650},{},[651],{"type":55,"value":652},"    credential=AzureKeyCredential(os.environ[\"AZURE_TRANSLATOR_KEY\"]),\n",{"type":49,"tag":83,"props":654,"children":655},{"class":85,"line":459},[656],{"type":49,"tag":83,"props":657,"children":658},{},[659],{"type":55,"value":660},"    region=os.environ[\"AZURE_TRANSLATOR_REGION\"],\n",{"type":49,"tag":83,"props":662,"children":663},{"class":85,"line":468},[664],{"type":49,"tag":83,"props":665,"children":666},{},[667],{"type":55,"value":518},{"type":49,"tag":83,"props":669,"children":670},{"class":85,"line":477},[671],{"type":49,"tag":83,"props":672,"children":673},{},[674],{"type":55,"value":527},{"type":49,"tag":83,"props":676,"children":677},{"class":85,"line":485},[678],{"type":49,"tag":83,"props":679,"children":680},{"emptyLinePlaceholder":427},[681],{"type":55,"value":430},{"type":49,"tag":83,"props":683,"children":684},{"class":85,"line":494},[685],{"type":49,"tag":83,"props":686,"children":687},{},[688],{"type":55,"value":689},"# Key against a custom subdomain endpoint (no region required)\n",{"type":49,"tag":83,"props":691,"children":692},{"class":85,"line":503},[693],{"type":49,"tag":83,"props":694,"children":695},{},[696],{"type":55,"value":491},{"type":49,"tag":83,"props":698,"children":699},{"class":85,"line":512},[700],{"type":49,"tag":83,"props":701,"children":702},{},[703],{"type":55,"value":500},{"type":49,"tag":83,"props":705,"children":706},{"class":85,"line":521},[707],{"type":49,"tag":83,"props":708,"children":709},{},[710],{"type":55,"value":652},{"type":49,"tag":83,"props":712,"children":714},{"class":85,"line":713},16,[715],{"type":49,"tag":83,"props":716,"children":717},{},[718],{"type":55,"value":518},{"type":49,"tag":83,"props":720,"children":722},{"class":85,"line":721},17,[723],{"type":49,"tag":83,"props":724,"children":725},{},[726],{"type":55,"value":527},{"type":49,"tag":64,"props":728,"children":730},{"id":729},"basic-translation",[731],{"type":55,"value":732},"Basic Translation",{"type":49,"tag":71,"props":734,"children":736},{"className":392,"code":735,"language":19,"meta":76,"style":76},"# Translate to a single language\nresult = client.translate(\n    body=[\"Hello, how are you?\", \"Welcome to Azure!\"],\n    to=[\"es\"]  # Spanish\n)\n\nfor item in result:\n    for translation in item.translations:\n        print(f\"Translated: {translation.text}\")\n        print(f\"Target language: {translation.to}\")\n",[737],{"type":49,"tag":79,"props":738,"children":739},{"__ignoreMap":76},[740,748,756,764,772,780,787,795,803,811],{"type":49,"tag":83,"props":741,"children":742},{"class":85,"line":86},[743],{"type":49,"tag":83,"props":744,"children":745},{},[746],{"type":55,"value":747},"# Translate to a single language\n",{"type":49,"tag":83,"props":749,"children":750},{"class":85,"line":166},[751],{"type":49,"tag":83,"props":752,"children":753},{},[754],{"type":55,"value":755},"result = client.translate(\n",{"type":49,"tag":83,"props":757,"children":758},{"class":85,"line":189},[759],{"type":49,"tag":83,"props":760,"children":761},{},[762],{"type":55,"value":763},"    body=[\"Hello, how are you?\", \"Welcome to Azure!\"],\n",{"type":49,"tag":83,"props":765,"children":766},{"class":85,"line":198},[767],{"type":49,"tag":83,"props":768,"children":769},{},[770],{"type":55,"value":771},"    to=[\"es\"]  # Spanish\n",{"type":49,"tag":83,"props":773,"children":774},{"class":85,"line":222},[775],{"type":49,"tag":83,"props":776,"children":777},{},[778],{"type":55,"value":779},")\n",{"type":49,"tag":83,"props":781,"children":782},{"class":85,"line":441},[783],{"type":49,"tag":83,"props":784,"children":785},{"emptyLinePlaceholder":427},[786],{"type":55,"value":430},{"type":49,"tag":83,"props":788,"children":789},{"class":85,"line":450},[790],{"type":49,"tag":83,"props":791,"children":792},{},[793],{"type":55,"value":794},"for item in result:\n",{"type":49,"tag":83,"props":796,"children":797},{"class":85,"line":459},[798],{"type":49,"tag":83,"props":799,"children":800},{},[801],{"type":55,"value":802},"    for translation in item.translations:\n",{"type":49,"tag":83,"props":804,"children":805},{"class":85,"line":468},[806],{"type":49,"tag":83,"props":807,"children":808},{},[809],{"type":55,"value":810},"        print(f\"Translated: {translation.text}\")\n",{"type":49,"tag":83,"props":812,"children":813},{"class":85,"line":477},[814],{"type":49,"tag":83,"props":815,"children":816},{},[817],{"type":55,"value":818},"        print(f\"Target language: {translation.to}\")\n",{"type":49,"tag":64,"props":820,"children":822},{"id":821},"translate-to-multiple-languages",[823],{"type":55,"value":824},"Translate to Multiple Languages",{"type":49,"tag":71,"props":826,"children":828},{"className":392,"code":827,"language":19,"meta":76,"style":76},"result = client.translate(\n    body=[\"Hello, world!\"],\n    to=[\"es\", \"fr\", \"de\", \"ja\"]  # Spanish, French, German, Japanese\n)\n\nfor item in result:\n    print(f\"Source: {item.detected_language.language if item.detected_language else 'unknown'}\")\n    for translation in item.translations:\n        print(f\"  {translation.to}: {translation.text}\")\n",[829],{"type":49,"tag":79,"props":830,"children":831},{"__ignoreMap":76},[832,839,847,855,862,869,876,884,891],{"type":49,"tag":83,"props":833,"children":834},{"class":85,"line":86},[835],{"type":49,"tag":83,"props":836,"children":837},{},[838],{"type":55,"value":755},{"type":49,"tag":83,"props":840,"children":841},{"class":85,"line":166},[842],{"type":49,"tag":83,"props":843,"children":844},{},[845],{"type":55,"value":846},"    body=[\"Hello, world!\"],\n",{"type":49,"tag":83,"props":848,"children":849},{"class":85,"line":189},[850],{"type":49,"tag":83,"props":851,"children":852},{},[853],{"type":55,"value":854},"    to=[\"es\", \"fr\", \"de\", \"ja\"]  # Spanish, French, German, Japanese\n",{"type":49,"tag":83,"props":856,"children":857},{"class":85,"line":198},[858],{"type":49,"tag":83,"props":859,"children":860},{},[861],{"type":55,"value":779},{"type":49,"tag":83,"props":863,"children":864},{"class":85,"line":222},[865],{"type":49,"tag":83,"props":866,"children":867},{"emptyLinePlaceholder":427},[868],{"type":55,"value":430},{"type":49,"tag":83,"props":870,"children":871},{"class":85,"line":441},[872],{"type":49,"tag":83,"props":873,"children":874},{},[875],{"type":55,"value":794},{"type":49,"tag":83,"props":877,"children":878},{"class":85,"line":450},[879],{"type":49,"tag":83,"props":880,"children":881},{},[882],{"type":55,"value":883},"    print(f\"Source: {item.detected_language.language if item.detected_language else 'unknown'}\")\n",{"type":49,"tag":83,"props":885,"children":886},{"class":85,"line":459},[887],{"type":49,"tag":83,"props":888,"children":889},{},[890],{"type":55,"value":802},{"type":49,"tag":83,"props":892,"children":893},{"class":85,"line":468},[894],{"type":49,"tag":83,"props":895,"children":896},{},[897],{"type":55,"value":898},"        print(f\"  {translation.to}: {translation.text}\")\n",{"type":49,"tag":64,"props":900,"children":902},{"id":901},"specify-source-language",[903],{"type":55,"value":904},"Specify Source Language",{"type":49,"tag":71,"props":906,"children":908},{"className":392,"code":907,"language":19,"meta":76,"style":76},"result = client.translate(\n    body=[\"Bonjour le monde\"],\n    from_parameter=\"fr\",  # Source is French\n    to=[\"en\", \"es\"]\n)\n",[909],{"type":49,"tag":79,"props":910,"children":911},{"__ignoreMap":76},[912,919,927,935,943],{"type":49,"tag":83,"props":913,"children":914},{"class":85,"line":86},[915],{"type":49,"tag":83,"props":916,"children":917},{},[918],{"type":55,"value":755},{"type":49,"tag":83,"props":920,"children":921},{"class":85,"line":166},[922],{"type":49,"tag":83,"props":923,"children":924},{},[925],{"type":55,"value":926},"    body=[\"Bonjour le monde\"],\n",{"type":49,"tag":83,"props":928,"children":929},{"class":85,"line":189},[930],{"type":49,"tag":83,"props":931,"children":932},{},[933],{"type":55,"value":934},"    from_parameter=\"fr\",  # Source is French\n",{"type":49,"tag":83,"props":936,"children":937},{"class":85,"line":198},[938],{"type":49,"tag":83,"props":939,"children":940},{},[941],{"type":55,"value":942},"    to=[\"en\", \"es\"]\n",{"type":49,"tag":83,"props":944,"children":945},{"class":85,"line":222},[946],{"type":49,"tag":83,"props":947,"children":948},{},[949],{"type":55,"value":779},{"type":49,"tag":64,"props":951,"children":953},{"id":952},"language-detection",[954],{"type":55,"value":955},"Language Detection",{"type":49,"tag":71,"props":957,"children":959},{"className":392,"code":958,"language":19,"meta":76,"style":76},"result = client.translate(\n    body=[\"Hola, como estas?\"],\n    to=[\"en\"]\n)\n\nfor item in result:\n    if item.detected_language:\n        print(f\"Detected language: {item.detected_language.language}\")\n        print(f\"Confidence: {item.detected_language.score:.2f}\")\n",[960],{"type":49,"tag":79,"props":961,"children":962},{"__ignoreMap":76},[963,970,978,986,993,1000,1007,1015,1023],{"type":49,"tag":83,"props":964,"children":965},{"class":85,"line":86},[966],{"type":49,"tag":83,"props":967,"children":968},{},[969],{"type":55,"value":755},{"type":49,"tag":83,"props":971,"children":972},{"class":85,"line":166},[973],{"type":49,"tag":83,"props":974,"children":975},{},[976],{"type":55,"value":977},"    body=[\"Hola, como estas?\"],\n",{"type":49,"tag":83,"props":979,"children":980},{"class":85,"line":189},[981],{"type":49,"tag":83,"props":982,"children":983},{},[984],{"type":55,"value":985},"    to=[\"en\"]\n",{"type":49,"tag":83,"props":987,"children":988},{"class":85,"line":198},[989],{"type":49,"tag":83,"props":990,"children":991},{},[992],{"type":55,"value":779},{"type":49,"tag":83,"props":994,"children":995},{"class":85,"line":222},[996],{"type":49,"tag":83,"props":997,"children":998},{"emptyLinePlaceholder":427},[999],{"type":55,"value":430},{"type":49,"tag":83,"props":1001,"children":1002},{"class":85,"line":441},[1003],{"type":49,"tag":83,"props":1004,"children":1005},{},[1006],{"type":55,"value":794},{"type":49,"tag":83,"props":1008,"children":1009},{"class":85,"line":450},[1010],{"type":49,"tag":83,"props":1011,"children":1012},{},[1013],{"type":55,"value":1014},"    if item.detected_language:\n",{"type":49,"tag":83,"props":1016,"children":1017},{"class":85,"line":459},[1018],{"type":49,"tag":83,"props":1019,"children":1020},{},[1021],{"type":55,"value":1022},"        print(f\"Detected language: {item.detected_language.language}\")\n",{"type":49,"tag":83,"props":1024,"children":1025},{"class":85,"line":468},[1026],{"type":49,"tag":83,"props":1027,"children":1028},{},[1029],{"type":55,"value":1030},"        print(f\"Confidence: {item.detected_language.score:.2f}\")\n",{"type":49,"tag":64,"props":1032,"children":1034},{"id":1033},"transliteration",[1035],{"type":55,"value":1036},"Transliteration",{"type":49,"tag":58,"props":1038,"children":1039},{},[1040],{"type":55,"value":1041},"Convert text from one script to another:",{"type":49,"tag":71,"props":1043,"children":1045},{"className":392,"code":1044,"language":19,"meta":76,"style":76},"result = client.transliterate(\n    body=[\"konnichiwa\"],\n    language=\"ja\",\n    from_script=\"Latn\",  # From Latin script\n    to_script=\"Jpan\"      # To Japanese script\n)\n\nfor item in result:\n    print(f\"Transliterated: {item.text}\")\n    print(f\"Script: {item.script}\")\n",[1046],{"type":49,"tag":79,"props":1047,"children":1048},{"__ignoreMap":76},[1049,1057,1065,1073,1081,1089,1096,1103,1110,1118],{"type":49,"tag":83,"props":1050,"children":1051},{"class":85,"line":86},[1052],{"type":49,"tag":83,"props":1053,"children":1054},{},[1055],{"type":55,"value":1056},"result = client.transliterate(\n",{"type":49,"tag":83,"props":1058,"children":1059},{"class":85,"line":166},[1060],{"type":49,"tag":83,"props":1061,"children":1062},{},[1063],{"type":55,"value":1064},"    body=[\"konnichiwa\"],\n",{"type":49,"tag":83,"props":1066,"children":1067},{"class":85,"line":189},[1068],{"type":49,"tag":83,"props":1069,"children":1070},{},[1071],{"type":55,"value":1072},"    language=\"ja\",\n",{"type":49,"tag":83,"props":1074,"children":1075},{"class":85,"line":198},[1076],{"type":49,"tag":83,"props":1077,"children":1078},{},[1079],{"type":55,"value":1080},"    from_script=\"Latn\",  # From Latin script\n",{"type":49,"tag":83,"props":1082,"children":1083},{"class":85,"line":222},[1084],{"type":49,"tag":83,"props":1085,"children":1086},{},[1087],{"type":55,"value":1088},"    to_script=\"Jpan\"      # To Japanese script\n",{"type":49,"tag":83,"props":1090,"children":1091},{"class":85,"line":441},[1092],{"type":49,"tag":83,"props":1093,"children":1094},{},[1095],{"type":55,"value":779},{"type":49,"tag":83,"props":1097,"children":1098},{"class":85,"line":450},[1099],{"type":49,"tag":83,"props":1100,"children":1101},{"emptyLinePlaceholder":427},[1102],{"type":55,"value":430},{"type":49,"tag":83,"props":1104,"children":1105},{"class":85,"line":459},[1106],{"type":49,"tag":83,"props":1107,"children":1108},{},[1109],{"type":55,"value":794},{"type":49,"tag":83,"props":1111,"children":1112},{"class":85,"line":468},[1113],{"type":49,"tag":83,"props":1114,"children":1115},{},[1116],{"type":55,"value":1117},"    print(f\"Transliterated: {item.text}\")\n",{"type":49,"tag":83,"props":1119,"children":1120},{"class":85,"line":477},[1121],{"type":49,"tag":83,"props":1122,"children":1123},{},[1124],{"type":55,"value":1125},"    print(f\"Script: {item.script}\")\n",{"type":49,"tag":64,"props":1127,"children":1129},{"id":1128},"dictionary-lookup",[1130],{"type":55,"value":1131},"Dictionary Lookup",{"type":49,"tag":58,"props":1133,"children":1134},{},[1135],{"type":55,"value":1136},"Find alternate translations and definitions:",{"type":49,"tag":71,"props":1138,"children":1140},{"className":392,"code":1139,"language":19,"meta":76,"style":76},"result = client.lookup_dictionary_entries(\n    body=[\"fly\"],\n    from_parameter=\"en\",\n    to=\"es\"\n)\n\nfor item in result:\n    print(f\"Source: {item.normalized_source} ({item.display_source})\")\n    for translation in item.translations:\n        print(f\"  Translation: {translation.normalized_target}\")\n        print(f\"  Part of speech: {translation.pos_tag}\")\n        print(f\"  Confidence: {translation.confidence:.2f}\")\n",[1141],{"type":49,"tag":79,"props":1142,"children":1143},{"__ignoreMap":76},[1144,1152,1160,1168,1176,1183,1190,1197,1205,1212,1220,1228],{"type":49,"tag":83,"props":1145,"children":1146},{"class":85,"line":86},[1147],{"type":49,"tag":83,"props":1148,"children":1149},{},[1150],{"type":55,"value":1151},"result = client.lookup_dictionary_entries(\n",{"type":49,"tag":83,"props":1153,"children":1154},{"class":85,"line":166},[1155],{"type":49,"tag":83,"props":1156,"children":1157},{},[1158],{"type":55,"value":1159},"    body=[\"fly\"],\n",{"type":49,"tag":83,"props":1161,"children":1162},{"class":85,"line":189},[1163],{"type":49,"tag":83,"props":1164,"children":1165},{},[1166],{"type":55,"value":1167},"    from_parameter=\"en\",\n",{"type":49,"tag":83,"props":1169,"children":1170},{"class":85,"line":198},[1171],{"type":49,"tag":83,"props":1172,"children":1173},{},[1174],{"type":55,"value":1175},"    to=\"es\"\n",{"type":49,"tag":83,"props":1177,"children":1178},{"class":85,"line":222},[1179],{"type":49,"tag":83,"props":1180,"children":1181},{},[1182],{"type":55,"value":779},{"type":49,"tag":83,"props":1184,"children":1185},{"class":85,"line":441},[1186],{"type":49,"tag":83,"props":1187,"children":1188},{"emptyLinePlaceholder":427},[1189],{"type":55,"value":430},{"type":49,"tag":83,"props":1191,"children":1192},{"class":85,"line":450},[1193],{"type":49,"tag":83,"props":1194,"children":1195},{},[1196],{"type":55,"value":794},{"type":49,"tag":83,"props":1198,"children":1199},{"class":85,"line":459},[1200],{"type":49,"tag":83,"props":1201,"children":1202},{},[1203],{"type":55,"value":1204},"    print(f\"Source: {item.normalized_source} ({item.display_source})\")\n",{"type":49,"tag":83,"props":1206,"children":1207},{"class":85,"line":468},[1208],{"type":49,"tag":83,"props":1209,"children":1210},{},[1211],{"type":55,"value":802},{"type":49,"tag":83,"props":1213,"children":1214},{"class":85,"line":477},[1215],{"type":49,"tag":83,"props":1216,"children":1217},{},[1218],{"type":55,"value":1219},"        print(f\"  Translation: {translation.normalized_target}\")\n",{"type":49,"tag":83,"props":1221,"children":1222},{"class":85,"line":485},[1223],{"type":49,"tag":83,"props":1224,"children":1225},{},[1226],{"type":55,"value":1227},"        print(f\"  Part of speech: {translation.pos_tag}\")\n",{"type":49,"tag":83,"props":1229,"children":1230},{"class":85,"line":494},[1231],{"type":49,"tag":83,"props":1232,"children":1233},{},[1234],{"type":55,"value":1235},"        print(f\"  Confidence: {translation.confidence:.2f}\")\n",{"type":49,"tag":64,"props":1237,"children":1239},{"id":1238},"dictionary-examples",[1240],{"type":55,"value":1241},"Dictionary Examples",{"type":49,"tag":58,"props":1243,"children":1244},{},[1245],{"type":55,"value":1246},"Get usage examples for translations:",{"type":49,"tag":71,"props":1248,"children":1250},{"className":392,"code":1249,"language":19,"meta":76,"style":76},"from azure.ai.translation.text.models import DictionaryExampleTextItem\n\nresult = client.lookup_dictionary_examples(\n    body=[DictionaryExampleTextItem(text=\"fly\", translation=\"volar\")],\n    from_parameter=\"en\",\n    to=\"es\"\n)\n\nfor item in result:\n    for example in item.examples:\n        print(f\"Source: {example.source_prefix}{example.source_term}{example.source_suffix}\")\n        print(f\"Target: {example.target_prefix}{example.target_term}{example.target_suffix}\")\n",[1251],{"type":49,"tag":79,"props":1252,"children":1253},{"__ignoreMap":76},[1254,1262,1269,1277,1285,1292,1299,1306,1313,1320,1328,1336],{"type":49,"tag":83,"props":1255,"children":1256},{"class":85,"line":86},[1257],{"type":49,"tag":83,"props":1258,"children":1259},{},[1260],{"type":55,"value":1261},"from azure.ai.translation.text.models import DictionaryExampleTextItem\n",{"type":49,"tag":83,"props":1263,"children":1264},{"class":85,"line":166},[1265],{"type":49,"tag":83,"props":1266,"children":1267},{"emptyLinePlaceholder":427},[1268],{"type":55,"value":430},{"type":49,"tag":83,"props":1270,"children":1271},{"class":85,"line":189},[1272],{"type":49,"tag":83,"props":1273,"children":1274},{},[1275],{"type":55,"value":1276},"result = client.lookup_dictionary_examples(\n",{"type":49,"tag":83,"props":1278,"children":1279},{"class":85,"line":198},[1280],{"type":49,"tag":83,"props":1281,"children":1282},{},[1283],{"type":55,"value":1284},"    body=[DictionaryExampleTextItem(text=\"fly\", translation=\"volar\")],\n",{"type":49,"tag":83,"props":1286,"children":1287},{"class":85,"line":222},[1288],{"type":49,"tag":83,"props":1289,"children":1290},{},[1291],{"type":55,"value":1167},{"type":49,"tag":83,"props":1293,"children":1294},{"class":85,"line":441},[1295],{"type":49,"tag":83,"props":1296,"children":1297},{},[1298],{"type":55,"value":1175},{"type":49,"tag":83,"props":1300,"children":1301},{"class":85,"line":450},[1302],{"type":49,"tag":83,"props":1303,"children":1304},{},[1305],{"type":55,"value":779},{"type":49,"tag":83,"props":1307,"children":1308},{"class":85,"line":459},[1309],{"type":49,"tag":83,"props":1310,"children":1311},{"emptyLinePlaceholder":427},[1312],{"type":55,"value":430},{"type":49,"tag":83,"props":1314,"children":1315},{"class":85,"line":468},[1316],{"type":49,"tag":83,"props":1317,"children":1318},{},[1319],{"type":55,"value":794},{"type":49,"tag":83,"props":1321,"children":1322},{"class":85,"line":477},[1323],{"type":49,"tag":83,"props":1324,"children":1325},{},[1326],{"type":55,"value":1327},"    for example in item.examples:\n",{"type":49,"tag":83,"props":1329,"children":1330},{"class":85,"line":485},[1331],{"type":49,"tag":83,"props":1332,"children":1333},{},[1334],{"type":55,"value":1335},"        print(f\"Source: {example.source_prefix}{example.source_term}{example.source_suffix}\")\n",{"type":49,"tag":83,"props":1337,"children":1338},{"class":85,"line":494},[1339],{"type":49,"tag":83,"props":1340,"children":1341},{},[1342],{"type":55,"value":1343},"        print(f\"Target: {example.target_prefix}{example.target_term}{example.target_suffix}\")\n",{"type":49,"tag":64,"props":1345,"children":1347},{"id":1346},"get-supported-languages",[1348],{"type":55,"value":1349},"Get Supported Languages",{"type":49,"tag":71,"props":1351,"children":1353},{"className":392,"code":1352,"language":19,"meta":76,"style":76},"# Get all supported languages\nlanguages = client.get_supported_languages()\n\n# Translation languages\nprint(\"Translation languages:\")\nfor code, lang in languages.translation.items():\n    print(f\"  {code}: {lang.name} ({lang.native_name})\")\n\n# Transliteration languages\nprint(\"\\nTransliteration languages:\")\nfor code, lang in languages.transliteration.items():\n    print(f\"  {code}: {lang.name}\")\n    for script in lang.scripts:\n        print(f\"    {script.code} -> {[t.code for t in script.to_scripts]}\")\n\n# Dictionary languages\nprint(\"\\nDictionary languages:\")\nfor code, lang in languages.dictionary.items():\n    print(f\"  {code}: {lang.name}\")\n",[1354],{"type":49,"tag":79,"props":1355,"children":1356},{"__ignoreMap":76},[1357,1365,1373,1380,1388,1396,1404,1412,1419,1427,1435,1443,1451,1459,1467,1474,1482,1490,1499],{"type":49,"tag":83,"props":1358,"children":1359},{"class":85,"line":86},[1360],{"type":49,"tag":83,"props":1361,"children":1362},{},[1363],{"type":55,"value":1364},"# Get all supported languages\n",{"type":49,"tag":83,"props":1366,"children":1367},{"class":85,"line":166},[1368],{"type":49,"tag":83,"props":1369,"children":1370},{},[1371],{"type":55,"value":1372},"languages = client.get_supported_languages()\n",{"type":49,"tag":83,"props":1374,"children":1375},{"class":85,"line":189},[1376],{"type":49,"tag":83,"props":1377,"children":1378},{"emptyLinePlaceholder":427},[1379],{"type":55,"value":430},{"type":49,"tag":83,"props":1381,"children":1382},{"class":85,"line":198},[1383],{"type":49,"tag":83,"props":1384,"children":1385},{},[1386],{"type":55,"value":1387},"# Translation languages\n",{"type":49,"tag":83,"props":1389,"children":1390},{"class":85,"line":222},[1391],{"type":49,"tag":83,"props":1392,"children":1393},{},[1394],{"type":55,"value":1395},"print(\"Translation languages:\")\n",{"type":49,"tag":83,"props":1397,"children":1398},{"class":85,"line":441},[1399],{"type":49,"tag":83,"props":1400,"children":1401},{},[1402],{"type":55,"value":1403},"for code, lang in languages.translation.items():\n",{"type":49,"tag":83,"props":1405,"children":1406},{"class":85,"line":450},[1407],{"type":49,"tag":83,"props":1408,"children":1409},{},[1410],{"type":55,"value":1411},"    print(f\"  {code}: {lang.name} ({lang.native_name})\")\n",{"type":49,"tag":83,"props":1413,"children":1414},{"class":85,"line":459},[1415],{"type":49,"tag":83,"props":1416,"children":1417},{"emptyLinePlaceholder":427},[1418],{"type":55,"value":430},{"type":49,"tag":83,"props":1420,"children":1421},{"class":85,"line":468},[1422],{"type":49,"tag":83,"props":1423,"children":1424},{},[1425],{"type":55,"value":1426},"# Transliteration languages\n",{"type":49,"tag":83,"props":1428,"children":1429},{"class":85,"line":477},[1430],{"type":49,"tag":83,"props":1431,"children":1432},{},[1433],{"type":55,"value":1434},"print(\"\\nTransliteration languages:\")\n",{"type":49,"tag":83,"props":1436,"children":1437},{"class":85,"line":485},[1438],{"type":49,"tag":83,"props":1439,"children":1440},{},[1441],{"type":55,"value":1442},"for code, lang in languages.transliteration.items():\n",{"type":49,"tag":83,"props":1444,"children":1445},{"class":85,"line":494},[1446],{"type":49,"tag":83,"props":1447,"children":1448},{},[1449],{"type":55,"value":1450},"    print(f\"  {code}: {lang.name}\")\n",{"type":49,"tag":83,"props":1452,"children":1453},{"class":85,"line":503},[1454],{"type":49,"tag":83,"props":1455,"children":1456},{},[1457],{"type":55,"value":1458},"    for script in lang.scripts:\n",{"type":49,"tag":83,"props":1460,"children":1461},{"class":85,"line":512},[1462],{"type":49,"tag":83,"props":1463,"children":1464},{},[1465],{"type":55,"value":1466},"        print(f\"    {script.code} -> {[t.code for t in script.to_scripts]}\")\n",{"type":49,"tag":83,"props":1468,"children":1469},{"class":85,"line":521},[1470],{"type":49,"tag":83,"props":1471,"children":1472},{"emptyLinePlaceholder":427},[1473],{"type":55,"value":430},{"type":49,"tag":83,"props":1475,"children":1476},{"class":85,"line":713},[1477],{"type":49,"tag":83,"props":1478,"children":1479},{},[1480],{"type":55,"value":1481},"# Dictionary languages\n",{"type":49,"tag":83,"props":1483,"children":1484},{"class":85,"line":721},[1485],{"type":49,"tag":83,"props":1486,"children":1487},{},[1488],{"type":55,"value":1489},"print(\"\\nDictionary languages:\")\n",{"type":49,"tag":83,"props":1491,"children":1493},{"class":85,"line":1492},18,[1494],{"type":49,"tag":83,"props":1495,"children":1496},{},[1497],{"type":55,"value":1498},"for code, lang in languages.dictionary.items():\n",{"type":49,"tag":83,"props":1500,"children":1502},{"class":85,"line":1501},19,[1503],{"type":49,"tag":83,"props":1504,"children":1505},{},[1506],{"type":55,"value":1450},{"type":49,"tag":64,"props":1508,"children":1510},{"id":1509},"break-sentence",[1511],{"type":55,"value":1512},"Break Sentence",{"type":49,"tag":58,"props":1514,"children":1515},{},[1516],{"type":55,"value":1517},"Identify sentence boundaries:",{"type":49,"tag":71,"props":1519,"children":1521},{"className":392,"code":1520,"language":19,"meta":76,"style":76},"result = client.find_sentence_boundaries(\n    body=[\"Hello! How are you? I hope you are well.\"],\n    language=\"en\"\n)\n\nfor item in result:\n    print(f\"Sentence lengths: {item.sent_len}\")\n",[1522],{"type":49,"tag":79,"props":1523,"children":1524},{"__ignoreMap":76},[1525,1533,1541,1549,1556,1563,1570],{"type":49,"tag":83,"props":1526,"children":1527},{"class":85,"line":86},[1528],{"type":49,"tag":83,"props":1529,"children":1530},{},[1531],{"type":55,"value":1532},"result = client.find_sentence_boundaries(\n",{"type":49,"tag":83,"props":1534,"children":1535},{"class":85,"line":166},[1536],{"type":49,"tag":83,"props":1537,"children":1538},{},[1539],{"type":55,"value":1540},"    body=[\"Hello! How are you? I hope you are well.\"],\n",{"type":49,"tag":83,"props":1542,"children":1543},{"class":85,"line":189},[1544],{"type":49,"tag":83,"props":1545,"children":1546},{},[1547],{"type":55,"value":1548},"    language=\"en\"\n",{"type":49,"tag":83,"props":1550,"children":1551},{"class":85,"line":198},[1552],{"type":49,"tag":83,"props":1553,"children":1554},{},[1555],{"type":55,"value":779},{"type":49,"tag":83,"props":1557,"children":1558},{"class":85,"line":222},[1559],{"type":49,"tag":83,"props":1560,"children":1561},{"emptyLinePlaceholder":427},[1562],{"type":55,"value":430},{"type":49,"tag":83,"props":1564,"children":1565},{"class":85,"line":441},[1566],{"type":49,"tag":83,"props":1567,"children":1568},{},[1569],{"type":55,"value":794},{"type":49,"tag":83,"props":1571,"children":1572},{"class":85,"line":450},[1573],{"type":49,"tag":83,"props":1574,"children":1575},{},[1576],{"type":55,"value":1577},"    print(f\"Sentence lengths: {item.sent_len}\")\n",{"type":49,"tag":64,"props":1579,"children":1581},{"id":1580},"translation-options",[1582],{"type":55,"value":1583},"Translation Options",{"type":49,"tag":71,"props":1585,"children":1587},{"className":392,"code":1586,"language":19,"meta":76,"style":76},"result = client.translate(\n    body=[\"Hello, world!\"],\n    to=[\"de\"],\n    text_type=\"html\",           # \"plain\" or \"html\"\n    profanity_action=\"Marked\",  # \"NoAction\", \"Deleted\", \"Marked\"\n    profanity_marker=\"Asterisk\", # \"Asterisk\", \"Tag\"\n    include_alignment=True,      # Include word alignment\n    include_sentence_length=True # Include sentence boundaries\n)\n\nfor item in result:\n    translation = item.translations[0]\n    print(f\"Translated: {translation.text}\")\n    if translation.alignment:\n        print(f\"Alignment: {translation.alignment.proj}\")\n    if translation.sent_len:\n        print(f\"Sentence lengths: {translation.sent_len.src_sent_len}\")\n",[1588],{"type":49,"tag":79,"props":1589,"children":1590},{"__ignoreMap":76},[1591,1598,1605,1613,1621,1629,1637,1645,1653,1660,1667,1674,1682,1690,1698,1706,1714],{"type":49,"tag":83,"props":1592,"children":1593},{"class":85,"line":86},[1594],{"type":49,"tag":83,"props":1595,"children":1596},{},[1597],{"type":55,"value":755},{"type":49,"tag":83,"props":1599,"children":1600},{"class":85,"line":166},[1601],{"type":49,"tag":83,"props":1602,"children":1603},{},[1604],{"type":55,"value":846},{"type":49,"tag":83,"props":1606,"children":1607},{"class":85,"line":189},[1608],{"type":49,"tag":83,"props":1609,"children":1610},{},[1611],{"type":55,"value":1612},"    to=[\"de\"],\n",{"type":49,"tag":83,"props":1614,"children":1615},{"class":85,"line":198},[1616],{"type":49,"tag":83,"props":1617,"children":1618},{},[1619],{"type":55,"value":1620},"    text_type=\"html\",           # \"plain\" or \"html\"\n",{"type":49,"tag":83,"props":1622,"children":1623},{"class":85,"line":222},[1624],{"type":49,"tag":83,"props":1625,"children":1626},{},[1627],{"type":55,"value":1628},"    profanity_action=\"Marked\",  # \"NoAction\", \"Deleted\", \"Marked\"\n",{"type":49,"tag":83,"props":1630,"children":1631},{"class":85,"line":441},[1632],{"type":49,"tag":83,"props":1633,"children":1634},{},[1635],{"type":55,"value":1636},"    profanity_marker=\"Asterisk\", # \"Asterisk\", \"Tag\"\n",{"type":49,"tag":83,"props":1638,"children":1639},{"class":85,"line":450},[1640],{"type":49,"tag":83,"props":1641,"children":1642},{},[1643],{"type":55,"value":1644},"    include_alignment=True,      # Include word alignment\n",{"type":49,"tag":83,"props":1646,"children":1647},{"class":85,"line":459},[1648],{"type":49,"tag":83,"props":1649,"children":1650},{},[1651],{"type":55,"value":1652},"    include_sentence_length=True # Include sentence boundaries\n",{"type":49,"tag":83,"props":1654,"children":1655},{"class":85,"line":468},[1656],{"type":49,"tag":83,"props":1657,"children":1658},{},[1659],{"type":55,"value":779},{"type":49,"tag":83,"props":1661,"children":1662},{"class":85,"line":477},[1663],{"type":49,"tag":83,"props":1664,"children":1665},{"emptyLinePlaceholder":427},[1666],{"type":55,"value":430},{"type":49,"tag":83,"props":1668,"children":1669},{"class":85,"line":485},[1670],{"type":49,"tag":83,"props":1671,"children":1672},{},[1673],{"type":55,"value":794},{"type":49,"tag":83,"props":1675,"children":1676},{"class":85,"line":494},[1677],{"type":49,"tag":83,"props":1678,"children":1679},{},[1680],{"type":55,"value":1681},"    translation = item.translations[0]\n",{"type":49,"tag":83,"props":1683,"children":1684},{"class":85,"line":503},[1685],{"type":49,"tag":83,"props":1686,"children":1687},{},[1688],{"type":55,"value":1689},"    print(f\"Translated: {translation.text}\")\n",{"type":49,"tag":83,"props":1691,"children":1692},{"class":85,"line":512},[1693],{"type":49,"tag":83,"props":1694,"children":1695},{},[1696],{"type":55,"value":1697},"    if translation.alignment:\n",{"type":49,"tag":83,"props":1699,"children":1700},{"class":85,"line":521},[1701],{"type":49,"tag":83,"props":1702,"children":1703},{},[1704],{"type":55,"value":1705},"        print(f\"Alignment: {translation.alignment.proj}\")\n",{"type":49,"tag":83,"props":1707,"children":1708},{"class":85,"line":713},[1709],{"type":49,"tag":83,"props":1710,"children":1711},{},[1712],{"type":55,"value":1713},"    if translation.sent_len:\n",{"type":49,"tag":83,"props":1715,"children":1716},{"class":85,"line":721},[1717],{"type":49,"tag":83,"props":1718,"children":1719},{},[1720],{"type":55,"value":1721},"        print(f\"Sentence lengths: {translation.sent_len.src_sent_len}\")\n",{"type":49,"tag":64,"props":1723,"children":1725},{"id":1724},"async-client",[1726],{"type":55,"value":1727},"Async Client",{"type":49,"tag":71,"props":1729,"children":1731},{"className":392,"code":1730,"language":19,"meta":76,"style":76},"from azure.ai.translation.text.aio import TextTranslationClient\nfrom azure.identity.aio import DefaultAzureCredential\n\nasync def translate_text():\n    async with DefaultAzureCredential() as credential:\n        async with TextTranslationClient(\n            credential=credential,\n            endpoint=endpoint,\n        ) as client:\n            result = await client.translate(\n                body=[\"Hello, world!\"],\n                to=[\"es\"]\n            )\n            print(result[0].translations[0].text)\n",[1732],{"type":49,"tag":79,"props":1733,"children":1734},{"__ignoreMap":76},[1735,1743,1751,1758,1766,1774,1782,1790,1798,1806,1814,1822,1830,1838],{"type":49,"tag":83,"props":1736,"children":1737},{"class":85,"line":86},[1738],{"type":49,"tag":83,"props":1739,"children":1740},{},[1741],{"type":55,"value":1742},"from azure.ai.translation.text.aio import TextTranslationClient\n",{"type":49,"tag":83,"props":1744,"children":1745},{"class":85,"line":166},[1746],{"type":49,"tag":83,"props":1747,"children":1748},{},[1749],{"type":55,"value":1750},"from azure.identity.aio import DefaultAzureCredential\n",{"type":49,"tag":83,"props":1752,"children":1753},{"class":85,"line":189},[1754],{"type":49,"tag":83,"props":1755,"children":1756},{"emptyLinePlaceholder":427},[1757],{"type":55,"value":430},{"type":49,"tag":83,"props":1759,"children":1760},{"class":85,"line":198},[1761],{"type":49,"tag":83,"props":1762,"children":1763},{},[1764],{"type":55,"value":1765},"async def translate_text():\n",{"type":49,"tag":83,"props":1767,"children":1768},{"class":85,"line":222},[1769],{"type":49,"tag":83,"props":1770,"children":1771},{},[1772],{"type":55,"value":1773},"    async with DefaultAzureCredential() as credential:\n",{"type":49,"tag":83,"props":1775,"children":1776},{"class":85,"line":441},[1777],{"type":49,"tag":83,"props":1778,"children":1779},{},[1780],{"type":55,"value":1781},"        async with TextTranslationClient(\n",{"type":49,"tag":83,"props":1783,"children":1784},{"class":85,"line":450},[1785],{"type":49,"tag":83,"props":1786,"children":1787},{},[1788],{"type":55,"value":1789},"            credential=credential,\n",{"type":49,"tag":83,"props":1791,"children":1792},{"class":85,"line":459},[1793],{"type":49,"tag":83,"props":1794,"children":1795},{},[1796],{"type":55,"value":1797},"            endpoint=endpoint,\n",{"type":49,"tag":83,"props":1799,"children":1800},{"class":85,"line":468},[1801],{"type":49,"tag":83,"props":1802,"children":1803},{},[1804],{"type":55,"value":1805},"        ) as client:\n",{"type":49,"tag":83,"props":1807,"children":1808},{"class":85,"line":477},[1809],{"type":49,"tag":83,"props":1810,"children":1811},{},[1812],{"type":55,"value":1813},"            result = await client.translate(\n",{"type":49,"tag":83,"props":1815,"children":1816},{"class":85,"line":485},[1817],{"type":49,"tag":83,"props":1818,"children":1819},{},[1820],{"type":55,"value":1821},"                body=[\"Hello, world!\"],\n",{"type":49,"tag":83,"props":1823,"children":1824},{"class":85,"line":494},[1825],{"type":49,"tag":83,"props":1826,"children":1827},{},[1828],{"type":55,"value":1829},"                to=[\"es\"]\n",{"type":49,"tag":83,"props":1831,"children":1832},{"class":85,"line":503},[1833],{"type":49,"tag":83,"props":1834,"children":1835},{},[1836],{"type":55,"value":1837},"            )\n",{"type":49,"tag":83,"props":1839,"children":1840},{"class":85,"line":512},[1841],{"type":49,"tag":83,"props":1842,"children":1843},{},[1844],{"type":55,"value":1845},"            print(result[0].translations[0].text)\n",{"type":49,"tag":64,"props":1847,"children":1849},{"id":1848},"client-methods",[1850],{"type":55,"value":1851},"Client Methods",{"type":49,"tag":1853,"props":1854,"children":1855},"table",{},[1856,1875],{"type":49,"tag":1857,"props":1858,"children":1859},"thead",{},[1860],{"type":49,"tag":1861,"props":1862,"children":1863},"tr",{},[1864,1870],{"type":49,"tag":1865,"props":1866,"children":1867},"th",{},[1868],{"type":55,"value":1869},"Method",{"type":49,"tag":1865,"props":1871,"children":1872},{},[1873],{"type":55,"value":1874},"Description",{"type":49,"tag":1876,"props":1877,"children":1878},"tbody",{},[1879,1897,1914,1931,1948,1965,1982],{"type":49,"tag":1861,"props":1880,"children":1881},{},[1882,1892],{"type":49,"tag":1883,"props":1884,"children":1885},"td",{},[1886],{"type":49,"tag":79,"props":1887,"children":1889},{"className":1888},[],[1890],{"type":55,"value":1891},"translate",{"type":49,"tag":1883,"props":1893,"children":1894},{},[1895],{"type":55,"value":1896},"Translate text to one or more languages",{"type":49,"tag":1861,"props":1898,"children":1899},{},[1900,1909],{"type":49,"tag":1883,"props":1901,"children":1902},{},[1903],{"type":49,"tag":79,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":55,"value":1908},"transliterate",{"type":49,"tag":1883,"props":1910,"children":1911},{},[1912],{"type":55,"value":1913},"Convert text between scripts",{"type":49,"tag":1861,"props":1915,"children":1916},{},[1917,1926],{"type":49,"tag":1883,"props":1918,"children":1919},{},[1920],{"type":49,"tag":79,"props":1921,"children":1923},{"className":1922},[],[1924],{"type":55,"value":1925},"detect",{"type":49,"tag":1883,"props":1927,"children":1928},{},[1929],{"type":55,"value":1930},"Detect language of text",{"type":49,"tag":1861,"props":1932,"children":1933},{},[1934,1943],{"type":49,"tag":1883,"props":1935,"children":1936},{},[1937],{"type":49,"tag":79,"props":1938,"children":1940},{"className":1939},[],[1941],{"type":55,"value":1942},"find_sentence_boundaries",{"type":49,"tag":1883,"props":1944,"children":1945},{},[1946],{"type":55,"value":1947},"Identify sentence boundaries",{"type":49,"tag":1861,"props":1949,"children":1950},{},[1951,1960],{"type":49,"tag":1883,"props":1952,"children":1953},{},[1954],{"type":49,"tag":79,"props":1955,"children":1957},{"className":1956},[],[1958],{"type":55,"value":1959},"lookup_dictionary_entries",{"type":49,"tag":1883,"props":1961,"children":1962},{},[1963],{"type":55,"value":1964},"Dictionary lookup for translations",{"type":49,"tag":1861,"props":1966,"children":1967},{},[1968,1977],{"type":49,"tag":1883,"props":1969,"children":1970},{},[1971],{"type":49,"tag":79,"props":1972,"children":1974},{"className":1973},[],[1975],{"type":55,"value":1976},"lookup_dictionary_examples",{"type":49,"tag":1883,"props":1978,"children":1979},{},[1980],{"type":55,"value":1981},"Get usage examples",{"type":49,"tag":1861,"props":1983,"children":1984},{},[1985,1994],{"type":49,"tag":1883,"props":1986,"children":1987},{},[1988],{"type":49,"tag":79,"props":1989,"children":1991},{"className":1990},[],[1992],{"type":55,"value":1993},"get_supported_languages",{"type":49,"tag":1883,"props":1995,"children":1996},{},[1997],{"type":55,"value":1998},"List supported languages",{"type":49,"tag":64,"props":2000,"children":2002},{"id":2001},"best-practices",[2003],{"type":55,"value":2004},"Best Practices",{"type":49,"tag":267,"props":2006,"children":2007},{},[2008,2034,2082,2092,2102,2112,2122,2132,2142],{"type":49,"tag":271,"props":2009,"children":2010},{},[2011,2016,2018,2024,2026,2032],{"type":49,"tag":261,"props":2012,"children":2013},{},[2014],{"type":55,"value":2015},"Pick sync OR async and stay consistent.",{"type":55,"value":2017}," Do not mix ",{"type":49,"tag":79,"props":2019,"children":2021},{"className":2020},[],[2022],{"type":55,"value":2023},"azure.xxx",{"type":55,"value":2025}," sync clients with ",{"type":49,"tag":79,"props":2027,"children":2029},{"className":2028},[],[2030],{"type":55,"value":2031},"azure.xxx.aio",{"type":55,"value":2033}," async clients in the same call path. Choose one mode per module.",{"type":49,"tag":271,"props":2035,"children":2036},{},[2037,2042,2044,2050,2052,2058,2060,2065,2067,2072,2074,2080],{"type":49,"tag":261,"props":2038,"children":2039},{},[2040],{"type":55,"value":2041},"Always use context managers for clients and async credentials.",{"type":55,"value":2043}," Wrap every client in ",{"type":49,"tag":79,"props":2045,"children":2047},{"className":2046},[],[2048],{"type":55,"value":2049},"with Client(...) as client:",{"type":55,"value":2051}," (sync) or ",{"type":49,"tag":79,"props":2053,"children":2055},{"className":2054},[],[2056],{"type":55,"value":2057},"async with Client(...) as client:",{"type":55,"value":2059}," (async). For async ",{"type":49,"tag":79,"props":2061,"children":2063},{"className":2062},[],[2064],{"type":55,"value":284},{"type":55,"value":2066}," from ",{"type":49,"tag":79,"props":2068,"children":2070},{"className":2069},[],[2071],{"type":55,"value":382},{"type":55,"value":2073},", also use ",{"type":49,"tag":79,"props":2075,"children":2077},{"className":2076},[],[2078],{"type":55,"value":2079},"async with credential:",{"type":55,"value":2081}," so tokens and transports are cleaned up.",{"type":49,"tag":271,"props":2083,"children":2084},{},[2085,2090],{"type":49,"tag":261,"props":2086,"children":2087},{},[2088],{"type":55,"value":2089},"Batch translations",{"type":55,"value":2091}," — Send multiple texts in one request (up to 100)",{"type":49,"tag":271,"props":2093,"children":2094},{},[2095,2100],{"type":49,"tag":261,"props":2096,"children":2097},{},[2098],{"type":55,"value":2099},"Specify source language",{"type":55,"value":2101}," when known to improve accuracy",{"type":49,"tag":271,"props":2103,"children":2104},{},[2105,2110],{"type":49,"tag":261,"props":2106,"children":2107},{},[2108],{"type":55,"value":2109},"Use async client",{"type":55,"value":2111}," for high-throughput scenarios",{"type":49,"tag":271,"props":2113,"children":2114},{},[2115,2120],{"type":49,"tag":261,"props":2116,"children":2117},{},[2118],{"type":55,"value":2119},"Cache language list",{"type":55,"value":2121}," — Supported languages don't change frequently",{"type":49,"tag":271,"props":2123,"children":2124},{},[2125,2130],{"type":49,"tag":261,"props":2126,"children":2127},{},[2128],{"type":55,"value":2129},"Handle profanity",{"type":55,"value":2131}," appropriately for your application",{"type":49,"tag":271,"props":2133,"children":2134},{},[2135,2140],{"type":49,"tag":261,"props":2136,"children":2137},{},[2138],{"type":55,"value":2139},"Use html text_type",{"type":55,"value":2141}," when translating HTML content",{"type":49,"tag":271,"props":2143,"children":2144},{},[2145,2150],{"type":49,"tag":261,"props":2146,"children":2147},{},[2148],{"type":55,"value":2149},"Include alignment",{"type":55,"value":2151}," for applications needing word mapping",{"type":49,"tag":64,"props":2153,"children":2155},{"id":2154},"reference-files",[2156],{"type":55,"value":2157},"Reference Files",{"type":49,"tag":1853,"props":2159,"children":2160},{},[2161,2177],{"type":49,"tag":1857,"props":2162,"children":2163},{},[2164],{"type":49,"tag":1861,"props":2165,"children":2166},{},[2167,2172],{"type":49,"tag":1865,"props":2168,"children":2169},{},[2170],{"type":55,"value":2171},"File",{"type":49,"tag":1865,"props":2173,"children":2174},{},[2175],{"type":55,"value":2176},"Contents",{"type":49,"tag":1876,"props":2178,"children":2179},{},[2180,2197],{"type":49,"tag":1861,"props":2181,"children":2182},{},[2183,2192],{"type":49,"tag":1883,"props":2184,"children":2185},{},[2186],{"type":49,"tag":2187,"props":2188,"children":2190},"a",{"href":2189},"references\u002Fcapabilities.md",[2191],{"type":55,"value":2189},{"type":49,"tag":1883,"props":2193,"children":2194},{},[2195],{"type":55,"value":2196},"Additional non-hero capabilities, operation-group coverage, and production checklists.",{"type":49,"tag":1861,"props":2198,"children":2199},{},[2200,2208],{"type":49,"tag":1883,"props":2201,"children":2202},{},[2203],{"type":49,"tag":2187,"props":2204,"children":2206},{"href":2205},"references\u002Fnon-hero-scenarios.md",[2207],{"type":55,"value":2205},{"type":49,"tag":1883,"props":2209,"children":2210},{},[2211],{"type":55,"value":2212},"Dedicated non-hero examples for secondary\u002Fadvanced scenarios.",{"type":49,"tag":2214,"props":2215,"children":2216},"style",{},[2217],{"type":55,"value":2218},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2220,"total":2321},[2221,2237,2258,2273,2288,2299,2306],{"slug":2222,"name":2222,"fn":2223,"description":2224,"org":2225,"tags":2226,"stars":23,"repoUrl":24,"updatedAt":2236},"azure-ai-agents-persistent-dotnet","build AI agents with Azure .NET SDK","Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Use for agent CRUD, conversation threads, streaming responses, function calling, file search, and code interpreter. Triggers: \"PersistentAgentsClient\", \"persistent agents\", \"agent threads\", \"agent runs\", \"streaming agents\", \"function calling agents .NET\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2227,2230,2232,2233],{"name":2228,"slug":2229,"type":15},".NET","net",{"name":2231,"slug":30,"type":15},"Agents",{"name":13,"slug":14,"type":15},{"name":2234,"slug":2235,"type":15},"LLM","llm","2026-07-03T16:32:10.297433",{"slug":2238,"name":2238,"fn":2239,"description":2240,"org":2241,"tags":2242,"stars":23,"repoUrl":24,"updatedAt":2257},"azure-ai-anomalydetector-java","build anomaly detection applications with Java","Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate\u002Fmultivariate anomaly detection, time-series analysis, or AI-powered monitoring.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2243,2246,2247,2250,2253,2254],{"name":2244,"slug":2245,"type":15},"Analytics","analytics",{"name":13,"slug":14,"type":15},{"name":2248,"slug":2249,"type":15},"Data Analysis","data-analysis",{"name":2251,"slug":2252,"type":15},"Java","java",{"name":9,"slug":8,"type":15},{"name":2255,"slug":2256,"type":15},"Monitoring","monitoring","2026-05-13T06:14:16.261754",{"slug":2259,"name":2259,"fn":2260,"description":2261,"org":2262,"tags":2263,"stars":23,"repoUrl":24,"updatedAt":2272},"azure-ai-contentsafety-java","build content moderation applications with Azure AI","Build content moderation applications with Azure AI Content Safety SDK for Java. Use when implementing text\u002Fimage analysis, blocklist management, or harm detection for hate, violence, sexual content, and self-harm.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2264,2267,2268,2269],{"name":2265,"slug":2266,"type":15},"AI Infrastructure","ai-infrastructure",{"name":13,"slug":14,"type":15},{"name":2251,"slug":2252,"type":15},{"name":2270,"slug":2271,"type":15},"Security","security","2026-07-07T06:53:31.293235",{"slug":2274,"name":2274,"fn":2275,"description":2276,"org":2277,"tags":2278,"stars":23,"repoUrl":24,"updatedAt":2287},"azure-ai-contentsafety-py","detect harmful content with Azure AI Content Safety","Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification.\nTriggers: \"azure-ai-contentsafety\", \"ContentSafetyClient\", \"content moderation\", \"harmful content\", \"text analysis\", \"image analysis\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2279,2280,2283,2284,2285,2286],{"name":13,"slug":14,"type":15},{"name":2281,"slug":2282,"type":15},"Compliance","compliance",{"name":2234,"slug":2235,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},{"name":2270,"slug":2271,"type":15},"2026-07-18T05:14:23.017504",{"slug":2289,"name":2289,"fn":2290,"description":2291,"org":2292,"tags":2293,"stars":23,"repoUrl":24,"updatedAt":2298},"azure-ai-language-conversations-py","implement conversational language understanding with Python","Implement Conversational Language Understanding (CLU) using the azure-ai-language-conversations Python SDK. Use when working with ConversationAnalysisClient to analyze conversation intent and entities, building NLP features, or integrating language understanding into applications.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2294,2295,2296,2297],{"name":2244,"slug":2245,"type":15},{"name":13,"slug":14,"type":15},{"name":2234,"slug":2235,"type":15},{"name":18,"slug":19,"type":15},"2026-07-31T05:54:29.068751",{"slug":4,"name":4,"fn":5,"description":6,"org":2300,"tags":2301,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2302,2303,2304,2305],{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},{"slug":2307,"name":2307,"fn":2308,"description":2309,"org":2310,"tags":2311,"stars":23,"repoUrl":24,"updatedAt":2320},"azure-ai-vision-imageanalysis-py","analyze images with Azure AI Vision","Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks.\nTriggers: \"image analysis\", \"computer vision\", \"OCR\", \"object detection\", \"ImageAnalysisClient\", \"image caption\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2312,2313,2316,2319],{"name":13,"slug":14,"type":15},{"name":2314,"slug":2315,"type":15},"Computer Vision","computer-vision",{"name":2317,"slug":2318,"type":15},"Images","images",{"name":18,"slug":19,"type":15},"2026-07-18T05:14:18.007737",38,{"items":2323,"total":2458},[2324,2346,2353,2362,2369,2378,2385,2392,2399,2414,2433,2446],{"slug":2325,"name":2325,"fn":2326,"description":2327,"org":2328,"tags":2329,"stars":2343,"repoUrl":2344,"updatedAt":2345},"rushstack-best-practices","manage Rush monorepos with best practices","Provides best practices and guidance for working with Rush monorepos. Use when the user is working in a Rush-based repository, asks about Rush commands (install, update, build, rebuild), needs help with project selection, dependency management, build caching, subspace configuration, or troubleshooting Rush-specific issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2330,2333,2336,2337,2340],{"name":2331,"slug":2332,"type":15},"Engineering","engineering",{"name":2334,"slug":2335,"type":15},"Local Development","local-development",{"name":9,"slug":8,"type":15},{"name":2338,"slug":2339,"type":15},"Project Management","project-management",{"name":2341,"slug":2342,"type":15},"Rush","rush",6484,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frushstack","2026-04-06T18:34:44.965032",{"slug":2222,"name":2222,"fn":2223,"description":2224,"org":2347,"tags":2348,"stars":23,"repoUrl":24,"updatedAt":2236},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2349,2350,2351,2352],{"name":2228,"slug":2229,"type":15},{"name":2231,"slug":30,"type":15},{"name":13,"slug":14,"type":15},{"name":2234,"slug":2235,"type":15},{"slug":2238,"name":2238,"fn":2239,"description":2240,"org":2354,"tags":2355,"stars":23,"repoUrl":24,"updatedAt":2257},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2356,2357,2358,2359,2360,2361],{"name":2244,"slug":2245,"type":15},{"name":13,"slug":14,"type":15},{"name":2248,"slug":2249,"type":15},{"name":2251,"slug":2252,"type":15},{"name":9,"slug":8,"type":15},{"name":2255,"slug":2256,"type":15},{"slug":2259,"name":2259,"fn":2260,"description":2261,"org":2363,"tags":2364,"stars":23,"repoUrl":24,"updatedAt":2272},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2365,2366,2367,2368],{"name":2265,"slug":2266,"type":15},{"name":13,"slug":14,"type":15},{"name":2251,"slug":2252,"type":15},{"name":2270,"slug":2271,"type":15},{"slug":2274,"name":2274,"fn":2275,"description":2276,"org":2370,"tags":2371,"stars":23,"repoUrl":24,"updatedAt":2287},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2372,2373,2374,2375,2376,2377],{"name":13,"slug":14,"type":15},{"name":2281,"slug":2282,"type":15},{"name":2234,"slug":2235,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},{"name":2270,"slug":2271,"type":15},{"slug":2289,"name":2289,"fn":2290,"description":2291,"org":2379,"tags":2380,"stars":23,"repoUrl":24,"updatedAt":2298},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2381,2382,2383,2384],{"name":2244,"slug":2245,"type":15},{"name":13,"slug":14,"type":15},{"name":2234,"slug":2235,"type":15},{"name":18,"slug":19,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":2386,"tags":2387,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2388,2389,2390,2391],{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},{"slug":2307,"name":2307,"fn":2308,"description":2309,"org":2393,"tags":2394,"stars":23,"repoUrl":24,"updatedAt":2320},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2395,2396,2397,2398],{"name":13,"slug":14,"type":15},{"name":2314,"slug":2315,"type":15},{"name":2317,"slug":2318,"type":15},{"name":18,"slug":19,"type":15},{"slug":2400,"name":2400,"fn":2401,"description":2402,"org":2403,"tags":2404,"stars":23,"repoUrl":24,"updatedAt":2413},"azure-appconfiguration-java","manage configuration with Azure App Configuration","Azure App Configuration SDK for Java. Centralized application configuration management with key-value settings, feature flags, and snapshots.\nTriggers: \"ConfigurationClient java\", \"app configuration java\", \"feature flag java\", \"configuration setting java\", \"azure config java\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2405,2406,2409,2412],{"name":13,"slug":14,"type":15},{"name":2407,"slug":2408,"type":15},"Configuration","configuration",{"name":2410,"slug":2411,"type":15},"Feature Flags","feature-flags",{"name":2251,"slug":2252,"type":15},"2026-07-03T16:32:01.278468",{"slug":2415,"name":2415,"fn":2416,"description":2417,"org":2418,"tags":2419,"stars":23,"repoUrl":24,"updatedAt":2432},"azure-cosmos-rust","build applications with Azure Cosmos DB","Azure Cosmos DB library for Rust (NoSQL API). Document CRUD, containers, and globally distributed data.\nTriggers: \"cosmos db rust\", \"CosmosClient rust\", \"document crud rust\", \"NoSQL rust\", \"partition key rust\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2420,2423,2426,2429],{"name":2421,"slug":2422,"type":15},"Cosmos DB","cosmos-db",{"name":2424,"slug":2425,"type":15},"Database","database",{"name":2427,"slug":2428,"type":15},"NoSQL","nosql",{"name":2430,"slug":2431,"type":15},"Rust","rust","2026-07-31T05:54:27.021432",{"slug":2434,"name":2434,"fn":2416,"description":2435,"org":2436,"tags":2437,"stars":23,"repoUrl":24,"updatedAt":2445},"azure-cosmos-ts","Azure Cosmos DB JavaScript\u002FTypeScript SDK (@azure\u002Fcosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management. Triggers: \"Cosmos DB\", \"@azure\u002Fcosmos\", \"CosmosClient\", \"document CRUD\", \"NoSQL queries\", \"bulk operations\", \"partition key\", \"container.items\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2438,2439,2440,2441,2442],{"name":2421,"slug":2422,"type":15},{"name":2424,"slug":2425,"type":15},{"name":9,"slug":8,"type":15},{"name":2427,"slug":2428,"type":15},{"name":2443,"slug":2444,"type":15},"TypeScript","typescript","2026-07-03T16:31:19.368382",{"slug":2447,"name":2447,"fn":2448,"description":2449,"org":2450,"tags":2451,"stars":23,"repoUrl":24,"updatedAt":2457},"azure-data-tables-java","build table storage applications with Java","Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2452,2453,2454,2455,2456],{"name":13,"slug":14,"type":15},{"name":2421,"slug":2422,"type":15},{"name":2424,"slug":2425,"type":15},{"name":2251,"slug":2252,"type":15},{"name":2427,"slug":2428,"type":15},"2026-05-13T06:14:17.582229",267]