Solved:

AppFuse also ships error*.properties phrases in the bundle. You can find
them
in the target directory. I copied errors.properties to errors_en.properties
and put
it in src/main/resources.

Now errors are also in displayed in English. Unfortunately, the error
messages
are still doubled. Don't know why.



Last Friday, I started this answer to Henning Kropp. Now, it seems to be
outdated.

Fallback language is en:
    <context-param>
        <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
        <param-value>en</param-value>
    </context-param>


I searched for any occurence of "de" | >de< | space_de_space. There is
nothing that
indicates the setting of German as default language/locale.

Maybe this helps: another thing that I did:
- I copied everything from ApplicationResources.properties
to ApplicationResources_en.properties. Including error phrases!!! That is,
they are all here
and they are in English.

-Application Resources contains only the standard phrases 

  webapp.version=Version ${pom.version}
  copyright.year=${copyright.year}

Martin



Kropp, Henning wrote:
> 
> Just a shut in the wild, but maybe germane is the default language and 
> the failure messages are missing in english locale? Have you checked?
> 
> Martin Homik schrieb:
>> Last information, before I give up on that problem:
>>
>> I oberved that this error occurs only(!) when the locale is set to
>> English!
>> If the locale is set to any language but English then the error messages 
>> are displayed in the correct language.
>>
>> Puh ... what now?
>>
>> Martin
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Locale-problem-after-Struts2-validation-tp19900222s2369p19950176.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to