I've submit some code to add the function of setting voice according
to locale. Currently, German(de), French(fr), Chinese(zh_CN) and
English(en) are supported. To support a new language, we just need to
add one line in config.php.
$voices["fr"] =
'
http://webanywhere.cs.washington.edu/cgi-bin/espeak/getsound.pl?lang=fr&text=$text$';
To test this new function, please try opening
"http://<WA-host>/?locale=fr". (French locale has not been translated,
but we can hear all words will be spoken in French) If locale is not
specified, the browser's locale will be used.
Chinese are spoken out one character by one character in current WA
model, I need some time to improve it. (It seems that I have done some
dirty things to WA before. I can't remember clearly. I will find it
out later)