I resolved writing my own i18n-interceptor.
Firstly I try to get the locale from session, if not I look for in the
request, if not we use the ActionContext by default set up in
struts.properties.
Anyway this is not the xwork 2.1.4 behavior, who looks for locale in
session, and then ActionContext.
If you are not using REST or the rest plugin, you can use struts
2.1.7, it is not a GA release because there was a missing class in the
rest plugin. Or, you can build 2.1.8-SNAPSHOT. We should be getting an
xwork 2.1.5 release soon and we'll roll a struts 2.1.8 release right
afterwards. If the vote
2 matches
Mail list logo