How to build ‘Zero Code’ Business Central Translation Files using Azure Cognitive Service Translator Text APIs

SaranBusiness Central5 years ago13 Views

 “The limits of my language means the limits of my world.”
― Ludwig Wittgenstein

Previously, we had gone through a blog on creating Business Central Extensions with Indian language translation files ( https://codethecoffee.wordpress.com/2019/11/12/can-we-create-business-central-extensions-with-indian-languages-tamil-telugu-and-hindi-translations/ ). Now, we will go through, how the translation files are created using Azure Cognitive Service & Multilingual App Toolkit Editor.

Prerequisites:

  • Business Central Instance
  • Azure Subscription
  • Multilingual Editor

You can download and install the Multilingual Toolkit from the following Microsoft link:

https://developer.microsoft.com/en-us/windows/develop/multilingual-app-toolkit

Create a Azure Subscription account and then go to All Services and choose the Cognitive Services.

Under Cognitive Services, select the ‘Translator Text’ and click create to activate the Service.

Select the free pricing tier and then create it as we are using the service for practicing purpose.

After the Service becomes active, copy the Key 1 values

Now, we are going to add the Azure credential into Credential Manager of the Windows where we are going to translate the BC translation files.

Go to Credential Manager of the Windows (PC or Server)

Click on the Windows Credentials and then click ‘Add a Generic Cedential’

Enter the following details:
Internet or network address : Multilingual/MicrosoftTranslator
User name : Multilingual App Toolkit
Password : <AzureTranslatorKey1orKey2>
  • Open the Multilingual Editor and load the XLIFF file generated under the translation folder in your Business central project.
  • Click on a source record and then go to Home->Translate.
  • You can see the text getting translated to the target language (Here, en-US (English) to de-DE (German)).

We can Translate all the source content using the following approach.

As you can see, all the target text gets updated. Now, save the file, so that the Xliff file gets updated with the translation.

Have fun with Business Central..!

⭐


























Rating: 1 out of 5.

Original Post https://codethecoffee.wordpress.com/2019/11/20/how-to-build-zero-code-business-central-translation-files-using-azure-cognitive-service-translator-text-apis/

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
March 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       
« Feb   Apr »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...