Is there a way to load multiple message bundles (per locale) in Spring MVC? I'm looking at loading "messages.properties", "errors.properties", "menus.properties", etc., for every locale (en_US, zh_CN, etc.) I would like to keep them separate.
TIA.
Is there a way to load multiple message bundles (per locale) in Spring MVC? I'm looking at loading "messages.properties", "errors.properties", "menus.properties", etc., for every locale (en_US, zh_CN, etc.) I would like to keep them separate.
TIA.
Code:<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basenames"> <list> <value>messages</value> <value>errors</value> <value>menus</value> </list> </property> </bean>
Université Nancy 2
France
@mlarchet Thanks. I'll try that out.