4 comments

Hi Jan,

I believe you need to make your own custom Bundle class to reference your localized messages.

For instance if you look at the struts2 plugin, it has an action which references the bundle here
And here is the StrutsBundle code itself

Cheers,
Alan

0

Thanks Alan,

sometimes it's just too obvious. I already have the resources bundle but I didn't think about setting the values in the constructor.

Cheers
Jan

0

For every action, you can define the string action.<action_id>.text for the localized text of the action and action.<action_id>.description for its localized description,.

0

This thread is really useful!!!!! Thank you!!!

0

Please sign in to leave a comment.