Sorry for the later, THANK YOU Lukas!!
With your "I18nStruts2Adapter" code I can finally use titleKey to
internationalize column header, but new problem arise.

Reading display tag documentation
(http://displaytag.sourceforge.net/1.2/i18n.html) I see that to modify
some message, e.g. "paging.banner.one_item_found", I've to write imply
property in a file called "displaytag_LANGUAGE.properties".
I do that, I've also try put translated property in "package_it", but
messages doesn't change (I've put ".properties" file in the same
package as the action, where "package_it.properties" works...).
Any suggestion?

Cheers,
     Nicola


>The simple solution is to checkout the
>org.displaytag.localization.I18nWebworkAdapter and adjust it to Struts
>2 (as Struts 2 is formerly WebWork)

>Or evern better, use below code and put in displaytag.properties file
>line like this:

>locale.provider=org.demo.web.displaytag.I18nStruts2Adapter

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

Reply via email to