
Haw Jeh Lee (WebSparks) asked a question.
Could be a bug in MicrosoftMachineTranslatorConnector Sitefinity v15.3
Hi, I notice that I can not use the the MicrosoftMachineTranslatorConnector in v15.3.
Getting the "Invalid API subscription key." error.
My key generated for Azure AI Translator API is 84 chars.
Then I notice there is a limit of 32 chars in InitializeConnector method after peeking into the decompiled dll. (Progress.Sitefinity.Translations.MicrosoftMachineTranslatorConnector)
Some screenshots to help understand the issue.
(no worry about the key, I've regenerated them)
Then I went to override it, make it only throw error if < 32 chars
and update the setting:
and my translator service appeared now:
and it works!
You might not want to leave your key out in the open in your screenshot.
Thanks. Ive regenerated the key already 😅