设置默认为英语

This commit is contained in:
许轲 2023-08-24 02:11:20 +08:00
parent 014186b050
commit 076e497171

View File

@ -24,7 +24,7 @@ public class Config {
Properties properties = new Properties();
//设置语言包
LANGUAGE_PACK_NAME = CH_LANGUAGE_PACK_NAME;
LANGUAGE_PACK_NAME = EN_LANGUAGE_PACK_NAME;
try (InputStream inputStream = new FileInputStream(LANGUAGE_PACK_NAME)) {
InputStreamReader reader = new InputStreamReader(inputStream, StandardCharsets.UTF_8); // 使用 UTF-8 编码
properties.load(reader);