aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
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: 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.


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

Joined: Aug 26, 2006
Posts: 4968
    
    1

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Internationalization
 
Similar Threads
Can we set a specific date pattern for our app/webapp
EL functions in FACELETS...
JSF 1.2 + Internationalization
Determining Locale .... How?
Lack of data support in contemporary CS