{"id":38610,"date":"2021-04-06T16:30:02","date_gmt":"2021-04-06T15:30:02","guid":{"rendered":""},"modified":"2022-02-10T21:05:25","modified_gmt":"2022-02-10T20:05:25","slug":"how-you-can-use-azure-translator-to-batch-translate-your-documents","status":"publish","type":"post","link":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/","title":{"rendered":"How you can use Azure Translator to batch translate your documents"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full size-full webp-format\" src=\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew.jpg\" alt=\"An illustration of a cloud made of puzzle pieces, with a drawing of Bit the Raccoon to the right of the image.\" width=\"1920\" height=\"700\" data-orig-srcset=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew.jpg 1920w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-300x109.jpg 300w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-1024x373.jpg 1024w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-768x280.jpg 768w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-1536x560.jpg 1536w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-330x120.jpg 330w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-800x292.jpg 800w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew-400x146.jpg 400w\" data-orig-src=\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/CloudblogsBitTemplateHeaderNew.jpg\"><\/p>\n<p>In this article we will go through the requirement, challenges, and solution to automatically batch translate documents (HTML\/TXT\/Word) from any source language to any output language, while maintaining the structure and formatting of the source documents.<\/p>\n<p>&nbsp;<\/p>\n<h2>Requirements<\/h2>\n<p>Recently, we had a requirement to translate documents in 15 different languages to English and vice-versa. The expectation was to upload a source document and get N number of translated documents with the following high-level requirements:<\/p>\n<ol>\n<li>Most documents are HTML or TXT based.<\/li>\n<li>Any translation must maintain the document structure, keeping static contents, tables, etc. untouched.<\/li>\n<li>Document size can vary anywhere between 1Mb to 20Mbs.<\/li>\n<li>Document volume could reach 12,000 documents per month.<\/li>\n<li>The translation service must not save the documents.<\/li>\n<li>Any customisation to the translation service must enable the customer to view and delete custom data and models at any time.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>Azure Translate<\/h2>\n<p><a href=\"https:\/\/azure.microsoft.com\/en-gb\/services\/cognitive-services?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Azure Cognitive Services<\/a> offers a variety of AI services and cognitive APIs to help you build intelligent apps. One of those services is <a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/cognitive-services\/translator?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Azure Translator<\/a>. With it, you can translate text in real time across more than 60 languages, powered by the latest innovations in machine translation. It supports a wide range of use cases, such as translation for call centres, multilingual conversational agents, or in-app communication.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full size-full webp-format aligncenter\" src=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate1.png\" alt=\"An illustration of the Azure Translate process\" width=\"668\" height=\"215\" data-orig-srcset=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate1.png 668w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate1-300x97.png 300w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate1-330x106.png 330w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate1-400x129.png 400w\" data-orig-src=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate1.png\"><\/p>\n<p>The great <a href=\"https:\/\/github.com\/MicrosoftTranslator\/DocumentTranslator?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">security and compliance features<\/a> in Azure Translate meets the security requirement as below:<\/p>\n<ul>\n<li>Customer data isn\u2019t written to persistent storage. This meets requirement number 5 above.<\/li>\n<li>View and delete your custom data and models at any time. This meets requirement number 6 above.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Limitations<\/h2>\n<p>Now Azure Translator service has natively met 2 of 5 the requirements without writing any code. So, let\u2019s talk about some challenges:<\/p>\n<ol>\n<li>API Limit: Azure Translator Service has an API Limit of 5,000 characters per call. In HTML, where the <strong>tags-to-text ratio<\/strong> is high, a good text to HTML ratio is anywhere from 25 to 70 percent. This means we may easily hit the 5,000 character limit with just a call to translate the HTML header, if the header has reasonably large content.<\/li>\n<li>Maintain the structure of HTML document. This means we need:\n<ul>\n<li>To inspect the overall content and decide what needs to be translated first.<\/li>\n<li>To skip certain tags and content.<\/li>\n<li>To change LTR\/RTL alignment between languages.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>Solution<\/h2>\n<p>There is a great <a href=\"https:\/\/github.com\/MicrosoftTranslator\/DocumentTranslator?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Document Translator<\/a> WPF application developed by the Microsoft Translator Engineering team that will do the document translation, but this will require users to manually import files. This app cannot scale to the thousands of documents that need to be translated as fast as possible.<\/p>\n<p>My idea was to use the following the components:<\/p>\n<ul>\n<li>Azure Blob Storage to store both source documents and translated documents.<\/li>\n<li>Azure Function to run the code that orchestrates the translation.<\/li>\n<li>Reuse the business logic in the <a href=\"https:\/\/github.com\/MicrosoftTranslator\/DocumentTranslator?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Document Translator<\/a> after porting it to .NET Core to run in Azure Functions.<\/li>\n<li>And of course, the Azure Translator API.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"attachment-full webp-format aligncenter\" src=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate2.png\" alt=\"A diagram illustrating the proposed solution\" width=\"716\" height=\"455\" data-orig-srcset=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate2.png 716w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate2-300x191.png 300w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate2-330x210.png 330w, https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate2-400x254.png 400w\" data-orig-src=\"https:\/\/cm-edgetun.pages.dev\/en-us\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/08\/azuratranslate2.png\"><\/p>\n<p>The sequence will be as follows:<\/p>\n<ol>\n<li>Ingestion: Users will upload documents to an Azure blob container. This is like a virtual folder.<\/li>\n<li>Initial processing by Azure Function:\n<ul>\n<li>Azure function will be triggered when a new, supported file (HTML\/TXT), is uploaded in that container. You can learn more about <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-functions\/functions-triggers-bindings?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Azure Function Triggers and Bindings<\/a> on Microsoft Docs.<\/li>\n<li>It will determine the source language and destination language, and runtime configurations like the API key.<\/li>\n<li>It will then route the processing depending on the file type as below:<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<pre>- <span style=\"color: #993366\">\/\/Translate<\/span>\n- <span style=\"color: #0000ff\">switch<\/span> (<span style=\"color: #800080\">FileExtension<\/span>)\n- {\n-     <span style=\"color: #0000ff\">case<\/span> (<span style=\"color: #008000\">\"html\"<\/span>):\n-         <span style=\"color: #800080\">TranslatedContent = HTMLTranslationManager.DoContentTranslation(ContentToBeTranslated, FromLang, ToLang)<\/span>;\n-         <span style=\"color: #0000ff\">break<\/span>;\n-     <span style=\"color: #0000ff\">case<\/span> (<span style=\"color: #008000\">\"htm\"<\/span>):\n-         <span style=\"color: #800080\">TranslatedContent = HTMLTranslationManager.DoContentTranslation(ContentToBeTranslated, FromLang, ToLang)<\/span>;\n-         <span style=\"color: #0000ff\">break<\/span>;\n-     <span style=\"color: #0000ff\">case<\/span> <span style=\"color: #008000\">\"txt\"<\/span>:\n-         <span style=\"color: #800080\">TranslatedContent = DocumentTranslationManager.ProcessTextDocument(ContentToBeTranslated,FromLang,ToLang)<\/span>;\n-         <span style=\"color: #0000ff\">break<\/span>;\n-     <span style=\"color: #0000ff\">default<\/span>:\n-         <span style=\"color: #0000ff\">break<\/span>;\n- }<\/pre>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li>For HTML:\n<ul>\n<li>It will manipulate the content and decide what to translate and what to skip.<\/li>\n<li>It will then send batches of requests to the Translate API of 5,000 characters or less to translate.<\/li>\n<\/ul>\n<\/li>\n<li>For TXT files:\n<ul>\n<li>It will then slice the content into batches of 5,000 characters and send it to the API.<\/li>\n<\/ul>\n<\/li>\n<li>Lastly, it will concatenate the result in the same sequence they were sent, then correct the alignment and format depending on the output language.<\/li>\n<li>Then it will output the translation document to a different Azure Blob container.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>The Code<\/h2>\n<p>The source code for the project is <a href=\"https:\/\/github.com\/saffiali\/AutoTranslateBlobs?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">available on GitHub<\/a>.<\/p>\n<p>To run the application, you need to:<\/p>\n<ol>\n<li>Git clone https:\/\/github.com\/saffiali\/AutoTranslateBlobs.git<\/li>\n<li>Open in Visual Studio or VSCode<\/li>\n<li>Create\/Change <em><strong>local.settings.json<\/strong><\/em> file to include the following:<\/li>\n<\/ol>\n<pre>1. <span style=\"color: #008000\">\"AzureWebJobsStorage\"<\/span>: <span style=\"color: #008000\">\"\"<\/span>,\n2. <span style=\"color: #008000\">\"FromLang\"<\/span>: <span style=\"color: #008000\">\"Auto-Detect\"<\/span>,\n3. <span style=\"color: #008000\">\"ToLang\"<\/span>: <span style=\"color: #008000\">\"Arabic\"<\/span>,\n4. <span style=\"color: #008000\">\"AzureTranslateKey\"<\/span>: <span style=\"color: #008000\">\"\"<\/span><\/pre>\n<p>&nbsp;<\/p>\n<h2>About the Author<\/h2>\n<p>Saffi is Cloud Solution Architect at Microsoft. He is part of the App Innovation team and is SME for Azure App Development, Azure Blockchain and Azure Integration Services. You can follow him on <a href=\"https:\/\/www.linkedin.com\/in\/saffieldin\/\" target=\"_blank\" rel=\"noopener noreferrer\">LinkedIn<\/a> and <a href=\"https:\/\/twitter.com\/Saffieldin\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Useful Links<\/h2>\n<ul>\n<li><a href=\"https:\/\/azure.microsoft.com\/en-gb\/services\/cognitive-services\/translator?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more about Translator as part of Azure Cognitive Services<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-gb\/azure\/cognitive-services\/translator\/translator-how-to-signup#:~:text=How%20to%20sign%20up%20for%20the%20Translator%20Text,Pricing%20options%206%20Customization.%20...%207%20Additional%20resources?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">How to sign up for Translator<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services?ocid=AID3020565\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more about Azure Cognitive Services<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will go through the requirement, challenges, and solution to automatically batch translate documents (HTML\/TXT\/Word) from any source language to any output language, while maintaining the structure and formatting of the source documents.<\/p>\n","protected":false},"author":430,"featured_media":21801,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","footnotes":""},"categories":[594],"post_tag":[128,519],"content-type":[],"coauthors":[1455],"class_list":["post-38610","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technetuk","tag-azure","tag-technet-uk"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How you can use Azure Translator to batch translate your documents - Microsoft Industry Blogs - United Kingdom<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How you can use Azure Translator to batch translate your documents - Microsoft Industry Blogs - United Kingdom\" \/>\n<meta property=\"og:description\" content=\"In this article we will go through the requirement, challenges, and solution to automatically batch translate documents (HTML\/TXT\/Word) from any source language to any output language, while maintaining the structure and formatting of the source documents.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Industry Blogs - United Kingdom\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-06T15:30:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-10T20:05:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Saffi Ali\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Saffi Ali\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 min read\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\"},\"author\":[{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/author\/saffi-ali\/\",\"@type\":\"Person\",\"@name\":\"Saffi Ali\"}],\"headline\":\"How you can use Azure Translator to batch translate your documents\",\"datePublished\":\"2021-04-06T15:30:02+00:00\",\"dateModified\":\"2022-02-10T20:05:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\"},\"wordCount\":770,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg\",\"keywords\":[\"Azure\",\"TechNet UK\"],\"articleSection\":[\"TechNet UK\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\",\"url\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\",\"name\":\"How you can use Azure Translator to batch translate your documents - Microsoft Industry Blogs - United Kingdom\",\"isPartOf\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg\",\"datePublished\":\"2021-04-06T15:30:02+00:00\",\"dateModified\":\"2022-02-10T20:05:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage\",\"url\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg\",\"contentUrl\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg\",\"width\":800,\"height\":450,\"caption\":\"An illustration of a cloud made of puzzle pieces, with a drawing of Bit the Raccoon to the right of the image.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How you can use Azure Translator to batch translate your documents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#website\",\"url\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/\",\"name\":\"Microsoft Industry Blogs - United Kingdom\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#organization\",\"name\":\"Microsoft Industry Blogs - United Kingdom\",\"url\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2019\/08\/Microsoft-Logo.png\",\"contentUrl\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2019\/08\/Microsoft-Logo.png\",\"width\":259,\"height\":194,\"caption\":\"Microsoft Industry Blogs - United Kingdom\"},\"image\":{\"@id\":\"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How you can use Azure Translator to batch translate your documents - Microsoft Industry Blogs - United Kingdom","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/","og_locale":"en_US","og_type":"article","og_title":"How you can use Azure Translator to batch translate your documents - Microsoft Industry Blogs - United Kingdom","og_description":"In this article we will go through the requirement, challenges, and solution to automatically batch translate documents (HTML\/TXT\/Word) from any source language to any output language, while maintaining the structure and formatting of the source documents.","og_url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/","og_site_name":"Microsoft Industry Blogs - United Kingdom","article_published_time":"2021-04-06T15:30:02+00:00","article_modified_time":"2022-02-10T20:05:25+00:00","og_image":[{"width":800,"height":450,"url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg","type":"image\/jpeg"}],"author":"Saffi Ali","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saffi Ali","Est. reading time":"3 min read"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#article","isPartOf":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/"},"author":[{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/author\/saffi-ali\/","@type":"Person","@name":"Saffi Ali"}],"headline":"How you can use Azure Translator to batch translate your documents","datePublished":"2021-04-06T15:30:02+00:00","dateModified":"2022-02-10T20:05:25+00:00","mainEntityOfPage":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/"},"wordCount":770,"commentCount":0,"publisher":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#organization"},"image":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage"},"thumbnailUrl":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg","keywords":["Azure","TechNet UK"],"articleSection":["TechNet UK"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/","url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/","name":"How you can use Azure Translator to batch translate your documents - Microsoft Industry Blogs - United Kingdom","isPartOf":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage"},"image":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage"},"thumbnailUrl":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg","datePublished":"2021-04-06T15:30:02+00:00","dateModified":"2022-02-10T20:05:25+00:00","breadcrumb":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#primaryimage","url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg","contentUrl":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2020\/01\/technetcloudpuzzlethumb.jpg","width":800,"height":450,"caption":"An illustration of a cloud made of puzzle pieces, with a drawing of Bit the Raccoon to the right of the image."},{"@type":"BreadcrumbList","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/technetuk\/2021\/04\/06\/how-you-can-use-azure-translator-to-batch-translate-your-documents\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/"},{"@type":"ListItem","position":2,"name":"How you can use Azure Translator to batch translate your documents"}]},{"@type":"WebSite","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#website","url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/","name":"Microsoft Industry Blogs - United Kingdom","description":"","publisher":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#organization","name":"Microsoft Industry Blogs - United Kingdom","url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2019\/08\/Microsoft-Logo.png","contentUrl":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-content\/uploads\/sites\/22\/2019\/08\/Microsoft-Logo.png","width":259,"height":194,"caption":"Microsoft Industry Blogs - United Kingdom"},"image":{"@id":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/posts\/38610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/users\/430"}],"replies":[{"embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/comments?post=38610"}],"version-history":[{"count":0,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/posts\/38610\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/media\/21801"}],"wp:attachment":[{"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/media?parent=38610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/categories?post=38610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/post_tag?post=38610"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/content-type?post=38610"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/cm-edgetun.pages.dev\/en-gb\/industry\/blog\/wp-json\/wp\/v2\/coauthors?post=38610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}