struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4686) I18NInterceptor should use ServletRequest.getLocale() to read requested locale
Date Wed, 07 Sep 2016 17:49:20 GMT

    [ https://issues.apache.org/jira/browse/WW-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15471309#comment-15471309
] 

Aleksandr Mashchenko commented on WW-4686:
------------------------------------------

What about {{struts.locale}} defined in struts.xml? https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java#L235

> I18NInterceptor should use ServletRequest.getLocale() to read requested locale
> ------------------------------------------------------------------------------
>
>                 Key: WW-4686
>                 URL: https://issues.apache.org/jira/browse/WW-4686
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>             Fix For: 2.5.3
>
>
> This should be used as a fallback when no {{request_locale}} was defined. Also both existing
{{I18NInterceptor}}s will be merged into one



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message