botbuilder-community-dotnet
botbuilder-community-dotnet copied to clipboard
Feature: Microsoft Translator Region
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"]);