This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Internationalization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Internationalization" Watch "Internationalization" New topic


Sureshkumar Chinnappan

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

Joined: Jul 06, 2005
Posts: 1016
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.

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

Joined: Aug 26, 2006
Posts: 4968


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.

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.


I agree. Here's the link:
subject: Internationalization
Similar Threads
Can we set a specific date pattern for our app/webapp
Determining Locale .... How?
Lack of data support in contemporary CS
EL functions in FACELETS...
JSF 1.2 + Internationalization