Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ukanth committed Aug 28, 2023
2 parents e11ce19 + 9a0864c commit 733db4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/dev/ukanth/ufirewall/Api.java
Original file line number Diff line number Diff line change
Expand Up @@ -3072,7 +3072,7 @@ public static Context updateBaseContextLocale(Context context) {
String language = G.locale(); // Helper method to get saved language from SharedPreferences
Locale locale = new Locale(language);

if (language.equals("zh_CN")) {
if (language.equals("zh") || language.equals("zh_CN")) {
locale = Locale.SIMPLIFIED_CHINESE;
} else if (language.equals("zh_TW")) {
locale = Locale.TRADITIONAL_CHINESE;
Expand Down

0 comments on commit 733db4b

Please sign in to comment.