Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 66141
141
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!