Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multilingual JSP tutorial/examples  RSS feed

 
Michael J. Makunas
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know of any good tutorials or examples on how to take advantage JSP's multilingual capabilities? Most of what I've seen seems more complex than I need. I have a site that currently has text hard coded into jsps. We want to allow the users of the site to optionally change the language from English to something else (Turkish in the current case). Some on our team have sugested creating static classes that contain all of the text in the site. I'd rather not go down that route but we're looking for the path of least resistance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Store the variable data in properties files and use the fmt library of JSTL tags.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!