增加多语言
Add multiple languages
在配置文件中,设置插件默认语言,默认值为简体中文(zh_CN),可更改为美式英语(en_US)。
In the configuration file, set the default language of the plug-in. The default value is Simplified Chinese(zh_CN) and can be changed to American English(en_US).
默认配置文件路径为".\plugins\EntityQuery\config.json"
The default configuration file path is ".\plugins\EntityQuery\config.json"
{
"all_players_can_execute": 0,
"cmd_colour": 1,
"LANGUAGE": {
"Supported_languages": "zh_CN/en_US",
"Default": "zh_CN"
}
}
默认为简体中文,如果想改为英文,可参考下面的配置。
The default value is Simplified Chinese. If you want to change the value to English, see the following configuration .
{
"all_players_can_execute": 0,
"cmd_colour": 1,
"LANGUAGE": {
"Supported_languages": "zh_CN/en_US",
"Default": "en_US"
}
}