Struts 2 has a separate i18n bundle for error messages. It's named
errors.properties and gets merged in from AppFuse WARs.  If you look
in target/appname-version/WEB-INF/classes, you should see a number of
errors*.properties files.

Matt

On 4/23/07, Struts2 Fan <[EMAIL PROTECTED]> wrote:

Hi all,

I use locale=tr and I had a strange problem when I run the example Person in
the tutorials It puts a message between the required field message and I
couldn't find what puts it in there.

The bundle in the ApplicationResources_tr.xml
errors.required={0} gerekli bir alan.

The name of the field is
Person.firstName = isim

And the message is  -->   isim <alanı doldurulması> gerekli bir alan

<alanı doldurulması> I don't know how it goes there. I couldn't trace it.
And also the message displays wrong.
alanı doldurulması. But I think if I can find what puts it there I could
correct the locale problem.

Any ideas?

Thanks in advance.
--
View this message in context: 
http://www.nabble.com/RequiredString-message-in-struts2-tf3632490s2369.html#a10142949
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

Reply via email to