ddbdecc2 by 村长大人

固定国际化为中文

1 parent 46f63d65
......@@ -30,7 +30,7 @@ public class I18nConfig {
@Override
public Locale resolveLocale(HttpServletRequest httpServletRequest) {
//String language = httpServletRequest.getHeader("content-language");
Locale locale = Locale.getDefault();
Locale locale =new Locale("zh","CN");
/*if (StrUtil.isNotBlank(language)) {
String[] split = language.split("_");
locale = new Locale(split[0], split[1]);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!