tags:

views:

17

answers:

1
<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 LinkedList 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 LinkedList populate and display all the activities based on the Locale.

please suggest in this regard.

A: 

Here's a tutorial on internationalization in struts2.

Boris Pavlović