• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with html:errors and [CODE]i18n[/CODE]  RSS feed

john jum
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people! at first .. sorry but my english it's very very bad...
i try to describe my problem...

i'm using two properties files to internacionaliz.. my site. All works fine except when i validate a form that contain any error.

with tag the list of errors its printed but not in the correct locale, only in the default.

My configuration:

i have 2 properties files named Messages.properties and Messages_es.properties in classes/common/resources/

then i have an action to change the locale who puts in sessionScope a var who contains the locale "es" or "ca" (Spanish or Catalan).

finally in the jsp, the following code to translate <fmt:messages>:

and finally in the same jsp.. tag to show the errors...

summarizing if i change the locale spanish for catalan or viceversa all works fine, but when errors are present the message its only in the default bundle

I am grateful for any type of help or commentary and return to ask for pardon for my language...

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!