Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring语言环境默认语言属性_Spring_Spring Mvc_Spring Security - Fatal编程技术网

Spring语言环境默认语言属性

Spring语言环境默认语言属性,spring,spring-mvc,spring-security,Spring,Spring Mvc,Spring Security,可以在春季设置默认语言吗?例如,我有locale ru或us,但我的spring项目中没有lang_us.properties和lang_ru.properties这样的文件,而我只有lang_en.properties。现在,当在我的项目中找不到lang_ru或lang_us文件时,是否可以将lang file设置为lang_en。系统采用计算机的语言,或者如果文件不存在,则始终采用英语文件。我希望我能帮助你:

可以在春季设置默认语言吗?例如,我有locale ru或us,但我的spring项目中没有lang_us.properties和lang_ru.properties这样的文件,而我只有lang_en.properties。现在,当在我的项目中找不到lang_ru或lang_us文件时,是否可以将lang file设置为lang_en。

系统采用计算机的语言,或者如果文件不存在,则始终采用英语文件。我希望我能帮助你: