Re: Patch for Automated RTL widgets



On Sat, 30 Sep 2000, Robert Brady wrote:

> On Sat, 30 Sep 2000, Ali Abdin wrote:
> 
> > Anyway, attached is a patch for gtk_init that checks wether your locale
> > (LC_ALL or LANG) is Arabic or Hebrew, if it is then it will automatically set
> > the widget direction to RTL.
> 
> Note that the correct locale code for Hebrew is "he", and has been since
> 1989.

Are you 100% sure about this. I remember reading in a couple of sources 
that it was/is "hw" (one of these sources is a Hebrew-HOWTO)
 
> Also, this should be enabled for Persian (fa), Urdu (ur), Yiddish (yi).

Okay - I didn't really know about these.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]