org.springframework.web.servlet.i18n.LocaleChangeInterceptor 를 이용해서 Web browser로부터 httpServletRequest에서 locale 정보 구함.

 

그리고, 다음의 클래스로 잘 포장한다.

org.springframework.web.servlet.i18n.SessionLocaleResolver
org.springframework.context.support.ReloadableResourceBundleMessageSource

 

message는 spring tag를 이용해서 출력한다.

 

다음의 링크를 잘 활용.

 

http://yarbong.tistory.com/33

http://www.mkyong.com/spring-mvc/spring-mvc-internationalization-example/

http://www.devcken.com/?p=226

Posted by '김용환'
,