struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giglian <andrea.giglio...@smurfitkappa.it>
Subject Re: localization
Date Mon, 03 Dec 2007 11:27:35 GMT

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 get the same result using package_fr.properties rather than
package_es.properties.
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? I'm becoming crazy...
Is this a bug related with the "it" extension ???
Thank's for your time!

Andrea


Kropp, Henning wrote:
> 
> This would be the place to look for:
> http://struts.apache.org/2.x/docs/i18n-interceptor.html
> 
> btw... There are some broken links at
> http://struts.apache.org/2.x/docs/localization.html
> 
> Especially the link to sitemesh plugin ought to be:
> http://struts.apache.org/2.x/docs/sitemesh-plugin.html
> instead of
> http://struts.apache.org/2.x/S2PLUGINS/sitemesh-plugin.html
> 
> And the links to ValidationAware, Action... are also broken.
> 
> regards
> 
> mgainty@hotmail.com schrieb:
>> http://struts.apache.org/2.x/docs/localization.html
>>
>> M--
>> ----- Original Message -----
>> Wrom: VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQT
>> To: <user@struts.apache.org>
>> Sent: Friday, November 30, 2007 8:30 AM
>> Subject: localization
>>
>>
>>   
>>> my web app display message in jsp page ( using <s:text name="......."/>)
>>> always in one language.
>>> I have two localization files (package.properties and
>>>     
>> package_it.properties
>>   
>>> in the same folder), and I always get the messages in Italian language
>>>     
>> even
>>   
>>> if the client language is English (en-us).
>>> Rather in my production environment (O.S. Windows Server 2003 English),
>>>     
>> the
>>   
>>> same web app always displaying the same messages in English language
>>> even
>>>     
>> if
>>   
>>> the client language (IE 6) is Italian (it).
>>> I tried to do everythings but with any result.
>>> Please help me to solve this issue.
>>> Thanks in advance for your time.
>>>
>>> Andrea
>>> --
>>> View this message in context:
>>>     
>> http://www.nabble.com/localization-tf4909438.html#a14057085
>>   
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>     
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/localization-tf4909438.html#a14128214
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message