Click to See Complete Forum and Search --> : Arabic font


rag_uh
01-13-2004, 09:48 AM
Hi Forum,

I've a typical requirement here, for working on a bilingual page - English, and Arabic.

My requirement is .....
There are set of field in my page, which user will enter the data in Arabic for some, as well as English for others.

By changing the regional setting of the machine, the data could be easily captured from the keyboard in Arabic for the Arabic fields. And when I change the setting back, it gets captured in English for the remaining fields.

The problem is, is there any way in which, when I give focus to the Arabic text field, the machine regional setting gets triggered automatically from the browser, and when I leave, it gets reset...?

Khalid Ali
01-13-2004, 09:56 AM
I seriously doubt that, since JavaScript does not / can not interact with the machine it self.

aommaster
01-13-2004, 11:32 AM
Yeah, like Khalid said, I really don;t think that JAvascript or any other programming language can change the settings on a user's computer.

How about telling the user that some parts need to be answered in Arabic. That usually works!
You can even tell them HOW to switch betwen languages or even to enable arabic

rag_uh
01-14-2004, 10:01 AM
Not exactly....
Since we are working with only IE browser, we can invoke a command line argument in client system using the "WScript.Shell" Object.

In similar lines, can I control the regional setting through an Object to change the status for bi-language requirement.... !!!!!

-raghu