Text to speech multi-language feature good only for the Edge?

Q&A about the latest versions
Post Reply
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

Hi,
I have tried the text2speech component and it works fine with different language options when edited the javascript for a specific language when using the Edge. With Chrome and Firefox, the language setting is ignored and the audio is with the English interpretation of the text.
Is there another trick to force Chrome or Firefox to read audio in a non-English language?
the code extract from the example for the Slovene language :

...
}
utter.text = text;
utter.lang = 'sl';
synt.speak(utter);
window.ggLastTTSElement=this;
}
...
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

I have passed the info: https://developer.mozilla.org/en-US/doc ... Speech_API and tried with different codes for multilanguage interpretation but, still... it works only with the Edge (?).
Does anyone have an example with the other language(s) included English?
Post Reply