Run the following code:
voices = window.speechSynthesis.getVoices();
voices[0].lang;
This returns something like:
"sk-STEPH3"
which is not a correct language code, and breaks language matching against
e.g. navigator.languages.
Run the following code:
voices = window.speechSynthesis.getVoices();
voices[0].lang;
This returns something like:
"sk-STEPH3"
which is not a correct language code, and breaks language matching against
e.g. navigator.languages.