Hi,

If a language file (eg. errors_de.properties) for a requested locale
(eg. German)  is not available, the application should pick the
message from the default message file. (i.e. errors.properties)
rather than breaking the execution of code.

This is how i18n is handled in web application frameworks.

/sumedha







Ruchith Fernando wrote:
Hi,

Since your locale is DE you you will have to have
"errors_de.properties" file available in the classpath in the
"org.apache.rampart" package.

Simply copy the content of this file [1] into the errors_de.properties
file. Optionally you can translate messages :-)

Thanks,
Ruchith

[1] 
https://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/errors.properties

On 12/11/06, Daniel Wehrle <[EMAIL PROTECTED]> wrote:
Hi,

I tried to do a little Axis2 sample on my German Windows. I connect to a
.Net  web service using wssecurity,
so I use rampart for the UsernameToken.
But by sending a message I got an stack trace ending with:

Caused by: _java.lang.RuntimeException_: Can't find bundle for base name
org.apache.rampart.errors, locale de_DE
at org.apache.rampart.RampartException.<clinit>(_RampartException.java:36_)

What I am doing wrong?


Thanks
-- Daniel Wehrle


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





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

Reply via email to