This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java  RSS feed

 
Nagesh Babu Sunkara
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

how do we achieve internationalization in java without struts.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write your own internationalization framework.
 
Dan Johnsson
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nagesh Babu Sunkara:
Hey all,

how do we achieve internationalization in java without struts.


I suppose the question is restricted to Java in a web environment.

One cool feature is that JSPs can be internationalized be suffixing the name with the locale. Try out writing three JSPs

cool.jsp
cool_en.jsp
cool_en_UK.jsp

and call them using different locale settings in your browser.
 
C Kutler
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a tutorial on just JSTL for internationalization

http://www.netbeans.org/kb/articles/midnight.html#addcookietray
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!