Microsoft Machine Translator connector

Overview

NOTE: The following capability is available as of version Sitefinity CMS 15.2.8425.

The Translation module provides an out-of-the-box Microsoft Machine Translator connector with a quick setup, which enables you to utilize Azure AI Translator service. This is a neural machine translation service that you use to translate text and documents instantly or in batches (across a broad range of supported languages).

Create a Translator resource

To configure this connector, you must first sign up for Azure AI Translator v3 service in Microsoft Azure portal.
You need an endpoint URL and a resource key generated for authenticating requests to the Azure AI Translator service API.
For detailed instructions, see Microsoft documentation » Create a Translator resource.

Configure the connector

To configure the connector in Sitefinity CMS backend, perform the following:

  1. From Sitefinity NuGet Repository, download and install Progress.Sitefinity.Translations.MicrosoftMachineTranslatorConnector NuGet package.
  2. Build and run your project.
  3. In Sitefinity CMS backend, navigate to Administration » Settings » Advanced » Translations » Connectors » MicrosoftMachineTranslatorConnector » Parameters.
  4. Set the apiKey parameter to the resource key generated by the Azure AI Translator. 
  5. Set the baseURL parameter to one of the endpoint URLs supported by the Azure AI Translator API.
    For more information, see Microsoft documentation » Translator v3.0 » Base URLs.
    If you do not configure the baseURL parameter, the system uses the Global (non-regional) base URL.
  6. Set the region parameter to one of the regions supported by the Azure AI Translator API.
    If you have not changed the default base URL, you do not need to configure the region parameter.
    For more information, see Microsoft documentation » Authenticate requests to Azure AI services » Supported regions.

    NOTE: The Azure geography of the base URL must include the region that you have configured. 

  7. Optionally, you may configure additional parameters of the Azure AI Translator service.
    For more information, see Microsoft documentation » Translator v3.0 » Optional parameters.
    To do this, click queryString on the left and then in Value, enter the additional parameters.

    NOTE: You should format the string in the Value field using the query string format without the leading ? or & characters. Use & to separate the added parameters.

  8. Navigate back to MicrosoftMachineTranslatorConnector.
  9. Select the Enabled checkbox to activate the connector. 
  10. Deselect the Strip HTML tags checkbox.
  11. Save your changes.

RESULT: The connector appears as an option in the Translation service dropdown box when you are sending items for translation.

Want to learn more?

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?