File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 ]
I agree. Here's the link:
subject: Hindi Language Support for Struts
jQuery in Action, 3rd edition