This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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 ]
I agree. Here's the link:
subject: Hindi Language Support for Struts
It's not a secret anymore!