{"id":631,"date":"2026-10-12T14:28:36","date_gmt":"2026-10-12T04:28:36","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=631"},"modified":"2026-10-12T14:28:36","modified_gmt":"2026-10-12T04:28:36","slug":"setting-up-azure-ai-translator-with-rest-api-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/setting-up-azure-ai-translator-with-rest-api-step-by-step-guide\/","title":{"rendered":"Setting Up Azure AI Translator with REST API: Step-by-Step Guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This article will show how to create an Azure AI Translator service using the Azure REST API.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft Azure AI Translator offers translation services like language detection and translation for over 90 languages using a single API endpoint.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The process to use Azure AI Translator starts with the provisioning of an Azure AI Service (Multi-service or Translator) and using an SDK or Azure REST API to utilize the service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Azure AI Translator offers two core services: Language Detection and Language Translation.To use the detection service, we need to send a text in a key-value pair format with the language we would like to detect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The translation service uses two parameters, From and To, that indicate the source (From) and target (To) languages. We can also count the number of characters in a translated sentence using built-in functions provided by the API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create an Azure AI Translator service (also known as a resource) using the Azure REST API, we need to first create an Entra ID <a href=\"https:\/\/www.ntweekly.com\/2024\/05\/19\/create-an-app-registration-for-microsoft-azure-rest-api\/\" target=\"_blank\" rel=\"noreferrer noopener\">App Registration<\/a> with the appropriate permissions to create resources. Visit this link to create an App Registration before continuing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are new to the Azure REST API, it allows you to fully manage Azure and its resources using API requests (GET, PUT, DELETE, etc.) and manage the entire lifecycle of any resource running in Azure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-setting-up-azure-ai-translator-with-rest-api\"><strong>Setting Up Azure AI Translator with REST API<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To create a Translator service, we will use a POST request that uses version 2023-05-01 of the Azure REST API. The documentation for this request is available <a href=\"https:\/\/learn.microsoft.com\/en-us\/rest\/api\/aiservices\/accountmanagement\/accounts\/create?view=rest-aiservices-accountmanagement-2023-05-01&amp;tabs=HTTP\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create a resource, send a PUT request, adding your Azure Subscription ID, the resource group name, and the name of the AI Language service, as shown below:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-1\"><code>https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{Resource Group}}\/providers\/Microsoft.CognitiveServices\/accounts\/{{Resource Name}}?api-version=2023-05-01<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the request body, use the following:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-2\"><code>{\n  \"location\": \"East US\",\n  \"kind\": \"TextTranslation\",\n  \"sku\": {\n    \"name\": \"F0\"\n  }\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The request body is shown below with a return code of 201, which means that the resource was created successfully.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-related-articles\">Related Articles <\/h2>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/09\/06\/how-to-create-an-azure-ai-language-account-using-rest-api\/\">How to Create an Azure AI Language Account Using REST API<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/09\/08\/build-a-conversational-language-bot-with-azure-ai-language\/\">Build a Conversational Language Bot with Azure AI Language<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/03\/28\/a-guide-to-deploying-exe-apps-with-intune\/\">A Guide to Deploying EXE Apps with Intune<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/23\/how-to-use-microsoft-graph-security-api\/\">How to Use Microsoft Graph Security API<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/11\/list-classic-azure-administrators-using-powershell-and-azure-rest-api\/\">List Classic Azure Administrators Using PowerShell and Azure REST API<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will show how to create an Azure AI Translator service using the Azure REST API.<\/p>\n","protected":false},"author":1,"featured_media":632,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[24,16,26,48,13],"tags":[],"class_list":["post-631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-microsoft-azure","category-azure-ai-services","category-azure-ai-translator","category-blog"],"jetpack-related-posts":[{"id":652,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/how-to-translate-text-using-azure-ai-translator-and-net\/","url_meta":{"origin":631,"position":0},"title":"How to Translate Text Using Azure AI Translator and .NET","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"Following our previous post about Azure AI Translator, this post will show how to translate text between a source and target language using C#. About Azure AI Translator Microsoft Azure AI Translator offers translation services like language detection and translation for over 90 languages using a single API endpoint. The\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Translate-Text-With-Azure-AI-Translator.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Translate-Text-With-Azure-AI-Translator.webp 1x, \/wp-content\/uploads\/2024\/09\/Translate-Text-With-Azure-AI-Translator.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Translate-Text-With-Azure-AI-Translator.webp 2x"},"classes":[]},{"id":786,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/auto-generate-azure-bearer-token-with-postman\/","url_meta":{"origin":631,"position":1},"title":"Auto-Generate Azure Bearer Token with Postman","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"In this Postman and Azure REST API, I will show you how to auto-generate a bearer token for each Azure REST API request with Postman. Estimated reading time: 3 minutes Postman API client allows us to develop API requests to many cloud services using an intuitive interface. When it comes\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Simplifying-Azure-Management-with-GitHub-Copilot-for-Azure.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Simplifying-Azure-Management-with-GitHub-Copilot-for-Azure.webp 1x, \/wp-content\/uploads\/2024\/09\/Simplifying-Azure-Management-with-GitHub-Copilot-for-Azure.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Simplifying-Azure-Management-with-GitHub-Copilot-for-Azure.webp 2x"},"classes":[]},{"id":614,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/how-to-create-an-azure-ai-language-account-using-rest-api\/","url_meta":{"origin":631,"position":2},"title":"How to Create an Azure AI Language Account Using REST API","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"This Azure AI Services article will show how to create an Azure AI Language Account using REST API. Table of contentsOut-of-the-Box FeaturesHow to Create an Azure AI Language Account Using REST APICreate POST RequestRequest BodyRelated Articles Azure AI Language allows us to build applications based on language models that can\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp 1x, \/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp 1.5x, \/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp 2x"},"classes":[]},{"id":53111,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/add-language-keyboards-to-windows-machines-with-intune\/","url_meta":{"origin":631,"position":3},"title":"Add Language Keyboards to Windows Machines with Intune","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"In this Microsoft Intune blog post, we will demonstrate the process of adding an additional language keyboard to a Windows machine using Microsoft Intune. Estimated reading time: 3 minutes Microsoft Intune is a cloud-based service that provides comprehensive management of devices, applications, and security for organizations. As part of the\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp 1x, \/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp 1.5x, \/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp 2x"},"classes":[]},{"id":56794,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/flag-protected-text-with-azure-ai-content-safety\/","url_meta":{"origin":631,"position":4},"title":"Flag Protected Text with Azure AI Content Safety","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"Learn how to use Azure AI Content Safety to detect and flag sensitive or protected text in your applications without slowing teams down or over-blocking legitimate content.","rel":"","context":"In &quot;Azure AI Services&quot;","block_context":{"text":"Azure AI Services","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/azure-ai-services\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 1x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 1.5x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 2x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 3x, \/wp-content\/uploads\/2025\/11\/flag-protected-text-with-azure-ai-content-safety.png 4x"},"classes":[]},{"id":618,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/build-a-conversational-language-bot-with-azure-ai-language\/","url_meta":{"origin":631,"position":5},"title":"Build a Conversational Language Bot with Azure AI Language","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"The second blog post about Azure AI Language will show how to Build a Conversational Language Bot with Azure AI Language. Table of contentsCreate an Azure AI Language ResourceBuild a Conversational Language Bot with Azure AI LanguageDeploy the ModelConfigure a .NET Application If you missed the first blog post about\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp 1x, \/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Building-a-Conversational-Language-Bot-with-Azure-AI-Language.webp 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"\/wp-content\/uploads\/2024\/09\/create-an-Azure-AI-Translator-service-using-the-Azure-REST-API.webp","_links":{"self":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":2,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":634,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/631\/revisions\/634"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media\/632"}],"wp:attachment":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}