im trying to use web speech api to transcript a word in Portuguese, i set the property to 'pt-BR' ( unfortunately Portuguese - european is not supported) but, always replies in english.
Can someone help?
Thanks
code:
<script type="text/javascript">
var synth = window.speechSynthesis;
function falatarea(){
var utteranceY = new SpeechSynthesisUtterance();
utteranceY.text = "teste";
utteranceY.lang = "pt-BR";
utteranceY.voice = "pt-BR";
window.speechSynthesis.speak(utteranceY);
}
</script>