-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, you should try to find out, what the acutal locale is and if there is a suitable properties-file. Next, try to find out, if your properties-file is found in the right position. (Package etc.) and if it is accessible. Maybe you have not extended RequestAware in your class.....
Volker stan77 schrieb: > Hello, > > I'm new to struts 2. > I have the following problem with internationalization in my Action classes. > > there are two properties files package.properties and package_en.properties > wich works correctly in most cases. > > In my Logon action i would like to add an Action error like this: > > addActionError(getText("error.login.failed")); > > The message is dispayed in my jsp, but always get it's string from > package.properties, > never from package_en.properties. Seems, that the request_locale is not > reachable in my > Action class. > I've searched a several days for a solution, but can't find anything. > > Thanks for help. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFICzpUx4KjH6Tk4MMRApIbAKC4pKdtpGstmMYb5F7mr/SU2AdHqgCfRtQR UKbnP14prumG73NvVAQBy7w= =2ETC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]