You can call method [getText("activity.name")] to
retrieve localized string.

Read this document for more information:
http://struts.apache.org/2.2.1/docs/localization.html




2010/10/15 singh123 <vij...@rediffmail.com>:
>
> <s:iterator value="listObject">
> <s:component template="abc.vm">
>        <s:param name="text" value="listValue" />
>        <s:param name="prefix" value="listIndex" />
> </s:component>
> </s:iterator>
>
> listObject is a Linked list object. listValue and listIndex is of Object
> type.
> i have two properties file:
>
> messages.properties:
> activity.name=activity
>
> messages_fr.properties:
> activity.name=activity_fr
>
>  i want to add Localization feature so that when Linked list populate and
> display, it show text based on the Locale.
>  please suggest in this regard.
> --
> View this message in context: 
> http://old.nabble.com/give-suggestion-data-display-base-on-the-Locale-tp29971062p29971062.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

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

Reply via email to