- Start working on I18n support

This commit is contained in:
Paulo Gustavo Veiga
2012-06-25 00:03:04 -03:00
parent 65e7f2ce63
commit 042ea9ae6e
8 changed files with 53 additions and 98 deletions

View File

@@ -36,7 +36,7 @@
</property>
</bean>
<bean id="localeChangeInterceptor" class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
<property name="paramName" value="locale"/>
<property name="paramName" value="language"/>
</bean>
</mvc:interceptors>
@@ -87,7 +87,7 @@
<property name="maxUploadSize" value="522240"/>
</bean>
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource" >
<property name="basenames">
<list>
<value>messages</value>