How easy to get multilingual with a jsp site that used Bundles only in English
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   SBS_D
Posted On:   Monday, February 4, 2002 09:24 AM

We have a website built using Struts, and Resource Bundles, but its in English.



We would like to know how easy it would be to add a French Version?



We would like to user to pick a language, and be shown the screens in that language based on the text in the Bundles.



Sorry if its a dumb question, the FAQ didn't help clarify it.



Cheers,

S

Re: How easy to get multilingual with a jsp site that used Bundles only in English

Posted By:   Ted_Husted  
Posted On:   Wednesday, February 6, 2002 05:46 PM


If you are already using the message bundles, then
it's mostly a matter of having the message resource
translated, and then saved as ApplicationResources_fr.properties.



Switching between languages is just a matter of changing the
locale object that Struts places in the user's session. For
a good example, see the validator example.


HTH -Ted

About | Sitemap | Contact