Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The framework supports internationalization (i18n) in two different places: the UI tags and the action/field error messages, including the Validation messages.

Resource Bundle Search Order

...

Essentially, the i18n Interceptor pushes a locale into the ActionContext map upon every request. The framework components that support localization all utilize the ActionContext locale. See I18n Interceptor for details.

Global Resources (struts.custom.i18n.resources) in struts.properties

...

Wiki Markup
{snippet:id=strutscomparison|javadoc=true|url=com.opensymphony.xwork.util.LocalizedTextUtil}

Next: Action Chaining