[ https://issues.apache.org/struts/browse/WW-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rene Gielen resolved WW-3027. ----------------------------- Resolution: Fixed Fixed in XWork for >= XWork 2.1.3-SNAPSHOT (trunk) >= XWork 2.0.8-SNAPSHOT (2.0 branch) > I18nInterceptor dismisses browser provided locale (see XW-679) > -------------------------------------------------------------- > > Key: WW-3027 > URL: https://issues.apache.org/struts/browse/WW-3027 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.14, 2.1.6 > Reporter: Rene Gielen > Assignee: Rene Gielen > Fix For: 2.0.15, 2.1.7 > > > Copied from http://jira.opensymphony.com/browse/XW-679: > Currently, the I18nInterceptor first looks up request parameters if a locale > information is provided. If not, it looks up the session. Without respect to > whether the session actually contains a locale under the lookup key, the > lookup result is passed to saveLocale, which causes the locale to be set on > the ActionContext. This will erase any previous setting of the > ActionContext's locale. Unfortunately, this will always erase the browser > locale found by the request dispatcher, which if provided will be set on > ActionContext before I18nInterceptor comes into play. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.