You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Aleksandr Mashchenko (JIRA)" <ji...@apache.org> on 2016/09/07 17:49:20 UTC

[jira] [Commented] (WW-4686) I18NInterceptor should use ServletRequest.getLocale() to read requested locale

    [ 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)