You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Axel Groß <ka...@iaeste.at> on 2004/03/01 15:08:12 UTC

Re: is struts UI internationalized?

yes, you can
i use smth like:
 <bean:define id="buttonText">
	<bean:message key="button.submit" />
 </bean:define>
 <html:submit value="${buttonText}" />

hope it helps,
Axel

On 2004-02-24 at 09:50:21 -0500, Glanville, Jay wrote:
> Are the UI components of Struts internationalized for me, or do I need
> to do that myself?
>  
> For example, the <html:submit /> and <html:cancel /> tags create buttons
> with the text "Submit" and "Cancel" on them.  When I'm in a different
> locale, do these buttons get created with text based on that locale's
> language?  Or do I have to implement my own internationalization by
> doing something like the following:
>     <html:submit>
>         <bean:message key="general.submit" />
>     </html:submit>
>  
> Thanks
>  
> JDG
>  
> --
> Jay Glanville

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org