Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internationalization

 
Sureshkumar Chinnappan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Currently we are internationalization our application. The app is developed using struts framework. I am new to this stuff.
For intenationalization we need to take the default locale from property file and user specific locale from database. I dont know how to include this reading stuff in JSP. Plase help me.

Thanks & Regards,
Suresh Kumar.C
[ September 11, 2006: Message edited by: Bear Bibeault ]
 
Stefan Evans
Bartender
Posts: 1713
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might pay to read the struts documentation on i18n
Then come back and ask some more specific questions
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are going to have to choose between using Struts for your i18n and putting all your constants in properties files, or creating your own custom i18n solution and putting all your constants in database tables. Combining the two approaches is not likely to work very well.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey.

I've got a multimedia demo that demonstrates how to add i18n support to a Struts application. It uses the internationalization facilities of Struts, including the Struts custom tags and the property files. I think it translates into French Spanish and English.

http://www.technicalfacilitation.com/examscam/get.php?link=../irad/tutorials

Just look for the link that says: i18n with Struts Custom Tags

I hope that gives you a bit of an idea on how to approach the problem.

Cheers!

-Cameron
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic