Hi,

I'm experiencing strange behaviours with the application resources and I'm not 
sure about where to find the problem.

I defined the Application Resource which should be used in the 
struts-config.xml:
<!-- ==== Message Resources Definitions ==== -->
<message-resources 
parameter="com.equitystory.pms.resources.ApplicationResources" />

In the folder named in the xml, I created the following files:
ApplicationResources.properties
ApplicationResources_de.properties

When accessing the application with a german browser, I see all messages right, 
but log4j is telling me that ApplicationResources_de_DE.properties is missing. 
I created this file and left it empty.
When accessing the application with an english browser, the app is mixed up 
with german and english messages. I created ApplicationResources_en.properties 
and left it empty, and now everything works fine. 

The problem I now got is what happens if someone with a french browser is 
accessing the application? It would be great if there would be an easier 
solution with just the two files I named above and struts using the default 
file if there is no language-specific file.

Thanks in advance,
Sebastian

EquityStory AG
Seitzstr. 23
D-80538 Munich
Germany
 
Phone: +49 (0) 89 21 02 98-127
[EMAIL PROTECTED]


www.equitystory.de
Online Investor Relations
 
www.equitystory.com
Where Companies Meet Financial Pros.
 

Der Inhalt dieser E-Mail ist vertraulich und enthält möglicherweise  
Informationen, die ausschließlich für ausgewählte Empfänger und nicht für  die 
Öffentlichkeit bestimmt sind. Falls diese Nachricht nicht an Sie gerichtet ist 
oder fehlgeleitet wurde, zeigen Sie dies bitte dem Absender  unter der 
Telefonnummer +49 (0) 89 21 02 98-0 an. Die unerlaubte Verwendung,  
Vervielfältigung oder Verbreitung dieser Nachricht ist strengstens verboten. 
 
The preceding e-mail message contains information that is confidential and may 
constitute non-public information that is intended to be conveyed only to the 
designated recipient(s).  If you are not an intended recipient of this message, 
please notify the sender at +49 (0) 89 21 02 98-0.  Unauthorized use, 
dissemination, distribution, or reproduction of this message is strictly 
prohibited and may be unlawful.
 
EquityStory AG | Sitz: München | Amtsgericht München, HRB 131048 | Vorstand: 
Achim Weick, Robert Wirth | Aufsichtsratsvorsitzender: Rony Vogel

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

Reply via email to