Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET
requests.
q
The query string to convert to audio
tl
Translation language, for example, ar
for Arabic, or en-us
for English
ie
Encoding format, use default UTF-8
http://translate.google.com/translate_tts?ie=UTF-8&q=%D8%A7%D9%84%D8%B3%D9%84%D8%A7%D9%85%20%D8%B9%D9%84%D9%8A%D9%83%D9%85&tl=ar
http://translate.google.com/translate_tts?ie=UTF-8&q=Hello%20World&tl=en-us
I'm trying to get text-speech into my react app ,I've found this example [https://codesandbox.io/s/1ggs6] ,it worked fine with chrome and edge,otherwise on Firefox it can't read more than 2 languages US-english ,I just want the german language.
Any idea on how to fix it ?