struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel GroƟ <kamik...@iaeste.at>
Subject Re: is struts UI internationalized?
Date Mon, 01 Mar 2004 14:08:12 GMT
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


Mime
View raw message