jQuery in Action, 3rd edition
The moose likes Struts and the fly likes multi lingual site in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "multi lingual site in struts" Watch "multi lingual site in struts" New topic

multi lingual site in struts

jai deep

Joined: Dec 01, 2004
Posts: 6
hi everybody,

I am developing a multilingual site in german and hindi. I have create different application resources file .Everything is working fine.

Now my problem is that how to get unicode text of fonts. If i have written it in any language then how to convert it in to unicode.I just know that command native2ascii convert in unicode.
any suggestion is welcome

jai deep

[ January 16, 2005: Message edited by: jai deep ]
[ January 17, 2005: Message edited by: jai deep ]
Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
Check your os that supports german and hindi characters or not.
Mary Wallace
Ranch Hand

Joined: Aug 25, 2003
Posts: 138
Hi Deep
Can you pls shed some light how you created application Resource file?
jai deep

Joined: Dec 01, 2004
Posts: 6

My os windows Xp supports hindi. Now I am using it as default by setting through control panel.

When i am putting some text as दिल्ली in applicationResource file.It is working and converted to hindi.

But i am not able to convert text written in hindi(Mangal font) to Unicode. Using following command
C:\>native2ascii -encoding UTF-8 ApplicationResources.properties ApplicationResources_hi.properties

if I am trying using this then in webpages i am getting (?) as converted text.

please help
Jai deep
I agree. Here's the link: http://aspose.com/file-tools
subject: multi lingual site in struts
It's not a secret anymore!