[ 
https://issues.apache.org/struts/browse/WW-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42769
 ] 

Antonio Petrelli commented on WW-2345:
--------------------------------------

I think that I misunderstood your problem.
By default, Struts 2 web application tries to use the native language, that is 
got by the HTTP request sent by the browser.
If you use an Italian browser, then it tries to load the Italian translation.
This is why it "works" for Spanish and French!

> localization issue for "it" extension
> -------------------------------------
>
>                 Key: WW-2345
>                 URL: https://issues.apache.org/struts/browse/WW-2345
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: O.S. Windows XP Professional (ITA) / Windows Server 2003 
> (ENG) , JDK 1.5.0.12,  Tomcat 5.0.27
>            Reporter: Andrea Gigliotti
>
> I tried using the example application (struts2-blank-2.0.11.war) and it 
> working fine using package_es.properties and package.properties, that is I 
> getting the messages in the right language. 
> I got the same result using package_fr.properties rather than 
> package_es.properties, they working fine!
> But if I rename the package_es.properties in package_it.properties, it did't 
> work, that is the messages are always displayed in the O.S. language. 
> Anyone can help me?
> It seems to be a bug related with the "it" extension !!! 
> Thank's for your time! 
> Andrea

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to