hi!
I have a webapplication where I would like to offer a dropdown menue for the user - where he can select his language -> and then all information on the website is given in the selected language. but I don't know how I can exactly realize this. I thought I can provide for each language a seperate messages_langueage.properites file. But how can I put this on my applicationContext.xml or how can I change the messages_language.properties file in the applicationContext.xml file by selecting a value from a drop down menue?
my current messageSource in my applicationContext.xml file looks like this:
tia, lanaCode:<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basename"><value>messages</value></property> </bean>


Reply With Quote