This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Hindi Language Support for Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hindi Language Support for Struts" Watch "Hindi Language Support for Struts" New topic

Hindi Language Support for Struts

dimpsonu arora
Ranch Hand

Joined: Aug 13, 2003
Posts: 51
Hi Everybody,
I am developing an application using Struts which is multilingual. I need to give Hindi Language support in it but I don't know how. Can somebody help me in resolving this.

I have the idea that I need to convert hindi characters into unicode first and then need to use native2ascii.exe. But I am not aware how to convert hindi characters to unicode.

Thanks in advance.

Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
that shouldn't be a big deal. no need for any conversions or so.

- store you foreign texts in a resource bundle (google for java internationalization, if you are not familar with this concept)
- as you correctly pointed out, java itself holds it data in unicode, which is able to foreign language charsets
- your webapp will probably need to deliver utf8 (which can be set as http response type, as far as i know)

hope it helps,
[ October 25, 2006: Message edited by: Jan Groth ]
It is sorta covered in the JavaRanch Style Guide.
subject: Hindi Language Support for Struts
Similar Threads
add HINDI language in firefox
multi lingual site in struts
How to display Chinese in TextArea
Internationalization ans Struts
Reading hindi text from excel file and getting its corresponding unicode