File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Internationalization ans Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Internationalization ans Struts" Watch "Internationalization ans Struts" New topic

Internationalization ans Struts


Joined: Sep 19, 2002
Posts: 4
Can anyone tell me how to perform internationalization using struts framework??
I am developing a web application which should support hindi language.
If u can name a site for this, it will be great!
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Internationalization is fully described in the documentation on the apache website ( where you obtained Struts. A 2-second Google search comes up with 2000 hits on the topic as well. In fact it's hard to read an article about struts and NOT come across the topic. Basically, it amounts to using multiple resource files -- one for each language. Struts will automatically load the right resource file for each browser's target language.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Gavi Raaghav
Ranch Hand

Joined: Apr 28, 2005
Posts: 82
I have achieved internationalization for every european language but i am struggling with the japanese language.
I have maintained ApplicatioResources_ja properties file and have mentioned the unicode for all the values but still it shows up junk values on the screen.
I am using struts 1.1 and WSAD 5.1.2. I am using UTF-8 in the jsp as the charset.
I cant understand whats going wrong.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410


Three things:

1.) Welcome to Javaranch

2.) We're pleased to have you here with us in the Servlets forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here

3.) We have a forum dedicated to Struts.
I'll move this thread over there for you.
[ May 18, 2006: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Internationalization ans Struts
jQuery in Action, 3rd edition