struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject Antwort: Re: Re: Framework provided text key resolving issue
Date Tue, 10 Sep 2013 07:29:04 GMT
> 
> Done, resolved!
> 

Awesome, thanks :)





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

This Email was scanned by Sophos Anti Virus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message