나는 국제화를 추가 할 필요가있는 기존의 Spring/GWT Application을 가지고있다. 필자는 Spring의 "ResourceBundleMessageSource"를 사용하여 사용자 위치에 따라 적절한 messages_ * 파일을 자동으로 선택할 수 있다는 것을 알고 있습니다. 나는 this tutorial 다음을 시도했지만 프랑스어로 내 문자열을 표시하는 응용 프로그램을 가져올 수 없습니다.Spring을 사용한 국제화
<bean id="messageSource"
class="org.springframework.context.support.ResourceBundleMessageSource">
<property name="basename">
<value>classpath:i18n/messages</value>
</property>
</bean>
<bean id="localeChangeInterceptor"
class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
<property name="paramName" value="lang" />
</bean>
<bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping" >
<property name="interceptors">
<list>
<ref bean="localeChangeInterceptor" />
</list>
</property>
</bean>
그냥 궁금 1) 나는 경우 : 약자로, 나는하여 applicationContext.XML에 다음 내 SRC/메인/자원/국제화 폴더에이 파일 messages_en_US.properties 및 messages_fr_FR.properties를 추가하고 추가 한 추가 구성/글루 코드가 필요하며 2) Redhat Server에서 언어/로켈을 프랑스어로 설정하지 않고도 쉽게 테스트 할 수 있습니까?