Skip to content

Commit

Permalink
Update ESP32_SpeechRecognition.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Aug 3, 2019
1 parent 7703736 commit 36d2900
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ESP32_SpeechRecognition.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Author: https://www.facebook.com/francefu
Page
https://fustyles.github.io/webduino/ESP32_SpeechRecognition.html?STAIP&en-NZ
https://fustyles.github.io/webduino/ESP32_SpeechRecognition.html?STAIP&en-US
-->
<html>
<head>
Expand All @@ -12,7 +12,7 @@
<body onload="if (language!='') document.getElementById('lang').value=language;">
Language
<select id="lang" name="lang" onclick="recognition.lang=this.value;try{startButton(event);}catch(e){}">
<option value="en-NZ">en-NZ</option>
<option value="en-US">en-US</option>
<option value="cmn-Hant-TW">中文(台灣)</option>
<option value="af-ZA">Afrikaans</option>
<option value="am-ET">አማርኛ</option>
Expand Down Expand Up @@ -128,7 +128,7 @@
var language = strUrl.split("?")[1].split("&")[1];
}
if (language=="")
recognition.lang="en-NZ";
recognition.lang="en-US";
else
recognition.lang=language;

Expand Down

0 comments on commit 36d2900

Please sign in to comment.