This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hindi Language Support for Struts" Watch "Hindi Language Support for Struts" New topic
Author

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.

Regards,
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,
jan
[ October 25, 2006: Message edited by: Jan Groth ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hindi Language Support for Struts
 
Similar Threads
add HINDI language in firefox
Internationalization ans Struts
How to display Chinese in TextArea
multi lingual site in struts
Reading hindi text from excel file and getting its corresponding unicode