botbuilder-community-dotnet icon indicating copy to clipboard operation
botbuilder-community-dotnet copied to clipboard

Feature: Microsoft Translator Region

Open iliosana opened this issue 2 years ago • 0 comments

I would like to deploy my Azure Translator instance in another region than global. Would it be possible to extend the bot's configuration file by the property 'MicrosoftTranslatorRegion'?

The actual translation request would then need an additional header with the value found in 'MicrosoftTranslatorRegion'.

request.Headers.Add("Ocp-Apim-Subscription-Region", configuration["MicrosoftTranslatorRegion"]);

iliosana avatar Jun 24 '22 08:06 iliosana