DEV Community

Discussion on: Text To Speech In 3 Lines Of JavaScript

Collapse
 
borisschapira profile image
Boris Schapira

Beware, the default voice locale is not the locale of the browser but the locale of the system. Be sure to always define the msg.lang (and the OS will switch to the right voice by itself).

Collapse
 
asaoluelijah profile image
Asaolu Elijah ๐Ÿง™โ€โ™‚๏ธ

Wow, I'd never noticed that.
Thanks for the great insight Boris.