English
var msg = new SpeechSynthesisUtterance('Hello! how are you today?');
msg.lang = 'en-US';
window.speechSynthesis.speak(msg);
French
var msg = new SpeechSynthesisUtterance("Bonjour, comment allez vous aujourd'hui?");
msg.lang = 'fr-CA';
window.speechSynthesis.speak(msg);