Skip to content

Commit

Permalink
works for chinese hanzi and pinyin
Browse files Browse the repository at this point in the history
  • Loading branch information
CaydenPierce committed Apr 18, 2024
1 parent d0123d6 commit c7b37bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private void initLanguageLocale(String localeString) {
currentLanguageCode = "ja-JP";
} else if (localeString.equals("Chinese")) {
currentLanguageCode = "zh";
} else if (localeString.equals("Chinese (Pinyin)")) {
} else if (localeString.contains("Chinese")) {
currentLanguageCode = "zh";
} else if (localeString.equals("Spanish")) {
currentLanguageCode = "es-MX";
Expand Down

0 comments on commit c7b37bd

Please sign in to comment.