struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Re: Framework provided text key resolving issue
Date Tue, 10 Sep 2013 07:24:31 GMT
Done, resolved!

2013/9/10 Christoph Nenning <Christoph.Nenning@lex-com.net>:
>> 2013/9/9 Christoph Nenning <Christoph.Nenning@lex-com.net>:
>> > In this case the following happens:
>> > - struts2's algorithm is performed (search packages hierarchically)
>> > - for global resources the JVM tries the file
>> > "struts-messages_en.properties" which is not present
>> > - then the JVM tries the language from system property "user.language"
>> > which is "de" in my case
>> > - a file for that locale is present and hence I get the german text
>> > instead of the requested english one
>>
>> This is strange, struts-messages bundle should be investigate fully -
>> first _en then default one. Which JVM version do you use?
>>
>
> Oh, yes that is surely the problem.
> We use IBM WebSphere with an IBM JVM.
>
> Sorry, didn't think about that.
>
>
>
>> > We provide our application texts for english in 2 files (of course
>> > scripted):
>> > - bundle.properties
>> > - bundle_en.properties
>> >
>> > I propose as workaround that english framework texts are provided the
> same
>> > way in 2 files.
>>
>> Can you register issue for that?
>>
>>
>
> Done:
>
> https://issues.apache.org/jira/browse/WW-4195
>
> This Email was scanned by Sophos Anti Virus

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


Mime
View raw message