---
title: "change the default locale"
author: "dellsoft"
date: "2011-04-13T19:37:00Z"
tags: []
categories: ["企业架构"]
slug: "change-the-default-locale"
draft: false
lastmod: "2011-04-13T19:49:46Z"
id: 1002101
url: "https://dellsoft.iteye.com/blog/1002101"
---

`beans = {`

`4.localeResolver(org.springframework.web.servlet.i18n.SessionLocaleResolver) {`

`5.defaultLocale =`**Locale.SIMPLIFIED\_CHINESE**

`6.java.util.Locale.setDefault(defaultLocale)`

`7.}`

`8.}`