>In general, directionality is a script property, not a language
>or locale property: any language written using Arabic, Hebrew,
>Syriac, or Thaana script remains right-to-left even when embedded
>in some foreign locale, unless it is transliterated into Latin script.
Yes, I realise that is true.   I am, however, trying to determine when it is
appropriate to generate a web page or an applet in right-to-left as opposed
to left-to-right.   I am assuming that the browser (and/or operating system)
is going to render the actual text in the correct visual order as defined by
the Unicode Bidi Algorithm.
However I still need to indicate whether the page itself should be oriented
in right-to-left format (i.e. with labels to form fields on the right not
the left).
I would like to be able to, as automatically as possible, determine what
would be the best for the user...which means trying to figuring out based on
their locale.
I think, for example, it would be appropriate to show a form oriented
right-to-left to someone who has their browser set to 'ar-EG', even if the
application has not been translated into arabic.
Unfortunately, the application is such that maintaining preferences for each
user is not possible so I am trying to make a best guess at it.
----- Original Message -----
From: "John Cowan" <[EMAIL PROTECTED]>
To: "Unicode List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 12:35 PM
Subject: Re: OT (Kind of): Determining whether Locales are left-to-right or


> David Tooke wrote:
>
> > dumb question 1.  Is Aramaic (which doesn't seem to have a 2 character
ISO
> > code) the same as Amharic (which does...AM)?
>
> No.
>
> > If not, Amharic appears to be
> > a Semetic language too, is that written right-to-left too?
>
> No, Amharic is written with Ethiopic script, which is left-to-right.
> In general, directionality is a script property, not a language
> or locale property: any language written using Arabic, Hebrew,
> Syriac, or Thaana script remains right-to-left even when embedded
> in some foreign locale, unless it is transliterated into Latin script.
>
> --
> There is / one art                   || John Cowan
<[EMAIL PROTECTED]>
> no more / no less                    || http://www.reutershealth.com
> to do / all things                   || http://www.ccil.org/~cowan
> with art- / lessness                 \\ -- Piet Hein

Reply via email to