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

Lukasz Lenart edited comment on WW-4686 at 9/8/16 6:40 AM:
-----------------------------------------------------------

But this is something application wide and not related to current user language 
settings. So I treat this as an application default locale which means if I set 
{{struts.locale}} to {{DE}}, the {{package.properties}} containes German 
transalation even if server is running on {{EN}} locale. Does it make sense?


was (Author: lukaszlenart):
But this is something application wide and not related to current user language 
settings. So I treat this as an application default locale which means if I set 
{{struts.locale}} to {{DE}}, the {{package.properties}} container German 
transalation even if server is running on {{EN}} locale. Does it make sense?

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

Reply via email to