Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

struts localization

Status
Not open for further replies.

cheekshfx

Programmer
Feb 26, 2007
1
CA
I'm trying to localize an application for Arabic (right-to-left) locale. Everything is working ok by simply specifying the Locale in the session. Struts works well and translates everything for me. However, I have one piece of data coming straight from the database that should be displayed exactly as it is stored. One sample of the data is this:
"Parameter.{i}"
This ends up being translated to:
"{Parameter.{i"
It seems that struts thinks "{" is meant to be at the end of a sentence or something. Is there a way to be able to escape this somehow, to force struts to ignore what the actual data is and to simply display it? (Using <bean:write>)

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top