How do you set the language to use? I see there is some hardcoded value in SpeechRecognition definition:
var SpeechRecognition = function () {
this.grammars = null;
this.lang = "en";// <- This one
...
Looks like those values should be passed along with the constructor call, anyway I tried setting the lgn atribute in the root html tag but that does not work either.
How do you set the language to use? I see there is some hardcoded value in SpeechRecognition definition:
Looks like those values should be passed along with the constructor call, anyway I tried setting the lgn atribute in the root html tag but that does not work either.