mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 06:12:55 +00:00
Use zh-HK for Cantonese Chinese as Android does not properly support the yue language code.
This commit is contained in:
@@ -245,7 +245,7 @@ public class SpeechSynthesis {
|
||||
locale = new Locale("hy", "", "arevmda");
|
||||
} else if (name.equals("zh-yue")) {
|
||||
// Android/Java does not support macrolanguages.
|
||||
locale = new Locale("yue");
|
||||
locale = new Locale("zh", "HK");
|
||||
} else {
|
||||
String[] parts = name.split("-");
|
||||
switch (parts.length) {
|
||||
|
||||
Reference in New Issue
Block a user