支持自动切换游戏语言至阿拉伯语 (#4853)

This commit is contained in:
Glavo
2025-11-23 21:51:30 +08:00
committed by GitHub
parent 1c37fbc97a
commit 3c5e4f15d9

View File

@@ -111,6 +111,7 @@ public final class HMCLGameLauncher extends DefaultLauncher {
String region = locale.getCountry();
return switch (LocaleUtils.getRootLanguage(locale)) {
case "ar" -> "ar_SA";
case "es" -> "es_ES";
case "ja" -> "ja_JP";
case "ru" -> "ru_RU";