File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Internationalization ans Struts

muksha
Greenhorn

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
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Internationalization is fully described in the documentation on the apache website (jakarta.apache.org) 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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Gavi Raaghav
Ranch Hand

Joined: Apr 28, 2005
Posts: 82
Kyle,
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
Sheriff

Joined: Dec 11, 2004
Posts: 13410

muksha,

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: http://aspose.com/file-tools
 
subject: Internationalization ans Struts