You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Brian McSweeney <br...@aurium.net> on 2003/04/16 18:05:48 UTC

Internationalization basics

hi all,

I've built my app with internationalization in mind, so all the html tags on the 
pages are reading from a resource bundles using the 

<bean:message key="mytag"/>

approach. Two questions about this:

1) is this the right way to do it,

2) I now want to internationalize it. So I want to put in another resource bundle.
I have written an action to change the locale of the user, but do I need to add 
in any extra tags other than the 

<bean:message key="mytag"/>

to get the appropriate resource bundle?

I know there is the <html:html locale="true"> tag, but I'm not sure if this is what 
I want.

any ideas?
cheers,
Brian