• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java

 
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