Language support

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi People

I am starting a new thread to continue a discussion originally begun in:

http://216.10.4.112/forums/showthread.php?postid=72698#post72698

Anat: Regarding your right to left problem:
Have you considered using an onkey event handler to rewrite the text as it is being written? I have done a number of similar things (inserting masks for phone and ssn numbers) with onKeypress & onKeyup. Seems like you can easily say something like:
for( i = fieldVal.length ; i > 0 ; --i)
flippedText += fieldVal.substring(i, i-1)

(didn't really think this out; my eyes are still closed Smiling

Also, Mike Fisher's question about Microsoft's language support is well-taken. The site you want to see is at: msdn.microsoft.com/workshop

Vinny

[Edited by Vincent Puglia on 10-13-2000 at 12:08 PM]

Where the world once stood
the blades of grass cut me still

They have: 304 posts

Joined: Dec 1999

Well, where were we?

Smiling

Actually Microsoft provides good support for Hebrew on most of its software, including Explorer. One of Microsofts largest Research centers is located in Israel (smae as Intel!) so they don't ignore our little corner.

The problem is with Netscape, who really don't care about Hebrew support.

If you design solely for MS Explorer you can use the "logical standard" for Hebrew which allows you to write freely in the right direction and supports pretty much everything.

If you want Netscape users to be able to see anything you have to use the "Visual standard", which means writing everything in reverse and letting the browser flip it back.

If you insert the proper meta tags, Explorer will easily display "visual Hebrew" but it doesn't work the other way around.

In the end, if you want everyone to be able to view the site (including the 15% or so of Netscape users), you have to use the "visual standard" and write your source code in reverse.

Some kids set up sites in "logical", because they can't be bothered with flipping everything. But all serious webmasters that don't want to miss the Netscape and Mac users will use the more difficult to create "visual Hebrew".

I really don't know why this should interest any of you lucky people with latin alphabets and left-to-right writings... Smiling

If any Arabic writing webmasters are reading this, I am curious about what happens with Arabic, as they must have similar problems.

Anat

They have: 429 posts

Joined: Jul 2000

...As someone eloquently coined it: "Mike'll reply to anything, even if he doesn't have answer to the topic."

Wink

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.