This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Internationalization Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Internationalization" Watch "Internationalization" New topic
Author

Internationalization

Sureshkumar Chinnappan
Greenhorn

Joined: Feb 15, 2006
Posts: 27
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 ]

Warm Regards,<br />Suresh Kumar<br /> <br />SCJP 5.0<br />SCWCD 1.4
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1003
It might pay to read the struts documentation on i18n
Then come back and ask some more specific questions
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

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


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Internationalization
 
Similar Threads
Can we set a specific date pattern for our app/webapp
Lack of data support in contemporary CS
JSF 1.2 + Internationalization
EL functions in FACELETS...
Determining Locale .... How?