I am using struts, I have a java web application which needs to run on two languages. I am able to get one language using application.properties file where I have key and values combination and use it. Now when the user wants to select select some other language than how to switch to another language how to change the properties file
I have different properties file for different language my problem is how to set/select the particular properties file when user selects different language?
If you are using Struts2 then you can create your own
LocaleProviderclass, something like:in
LocaleAction:in jsp: