Done, resolved!

2013/9/10 Christoph Nenning <christoph.nenn...@lex-com.net>:
>> 2013/9/9 Christoph Nenning <christoph.nenn...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to