WW-4929 Uses Accept-Language first even with cookies, then fallbacks to Request

This commit is contained in:
Lukasz Lenart
2020-11-28 10:54:00 +01:00
parent 2fb9b9c77f
commit a72d1a8ddf
@@ -368,7 +368,7 @@ public class I18nInterceptor extends AbstractInterceptor {
}
}
protected class CookieLocaleHandler extends RequestLocaleHandler {
protected class CookieLocaleHandler extends AcceptLanguageLocaleHandler {
protected CookieLocaleHandler(ActionInvocation invocation) {
super(invocation);
}