Hi,
I am trying to creating an app which will read out the text on the screen, basically for accessibility purpose.
I tried adding the audio control in the app & the Microsoft Translator service.
In the Media property for Audio control, I added:
MicrosoftTranslator.TextToSpeech("This is my text here", "en")
However when i run the app - getting the below error:
MicrosoftTranslator.TextToSpeech failed: The request was not sent or there was no response form the server. Check your internet connection.
My internet connection seems to be fine as I can browse websites. SO not sure what is the issue here.
Could you please help. Is this the right way to use MicrosoftTranslator.TextToSpeech or are there any other free API's can can be used to do Text to speech conversion.
Can I ask if it still works? This is because Microsoft deprecated the original one.
Hi @TheOpeningBat ,
So strange, everything works fine in my browsers.
Maybe you can try to open your app in different browsers, also try in a inPrivate/incognito mode.
Best regards,
Allen
You can try New Edge Download the new Microsoft Edge based on Chromium
Thanks for your reply @v-albai-msft & @AsanKani.
The audio control with the translator service seems to be working fine, if I open the app in a mobile.
But in desktop or web browser, it seems to block the translator service, so not sure any permission issue. Anything you are aware of. Thanks.
Overview of the Microsoft Translator connection - Power Apps | Microsoft Docs
See this doc.. You need to add MicrosoftTranslator Connection.. then try.. it's working fine..
Did this post solve your problem? Please click Accept as Solution so that others may find it more quickly.
If you liked my response, please give it a Thumbs Up.
Hi @TheOpeningBat ,
To use the Microsoft Translator Connector, you need to make sure if your account has Azure subscription, since this is the service from Azure.
Besides, Subscription key is needed. When you shared your app to your end users, the Microsoft Translator connection would be shared to them automatically without providing additional credential to access this connector from your end users.
(For test purpose, I also don’t add anything, and it works well(I have Azure subscription). If you want to share this app to your end users, you must add the key)
To get the key, you can refer to this article.
Best Regards,
Allen
Hi @v-albai-msft,
Thanks for your reply. I tried as you had mentioned, but still the same error.
Also, is there any license required for using Microsoft Translator.
Since when I added that, it asked for Subscription key but I didn't added anything & it got added.
Hi @TheOpeningBat ,
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
Set the Media property of the Audio control to following:
MicrosoftTranslator.TextToSpeech("Today is 0219", "en", {format:"audio/mp3"})
Note: I would suggest you add the format parameter in your formula since the output of TextToSpeech was default WAV format which doesn’t support on IE, and mp3 format to support in IE.
On your side, I would suggest you re-add a new connection to Microsoft Translator Connector, then try your formula again, check if the issue is solved.
Best Regards,
Allen
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473