Open tgbv opened 1 year ago
After digging deeper into MS Docs, this looks more like a feature request: https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-reference#authenticating-with-a-regional-resource as there are multiple ways to authenticate with MS Translator.
Nevertheless, it should be implemented. I made a pull request in which apiRegion is optional & used only for Microsoft Translator requests.
Lately, Microsoft Translator requires the region header as well. The command
cognigy translate
does not ask for region, making the translation via Microsoft feature impossible.Reference: https://learn.microsoft.com/en-us/answers/questions/1192881/how-to-get-microsoft-translator-api-key