• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...



 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic