Re: Patch for Automated RTL widgets



On Mon, 2 Oct 2000, Ali Abdin wrote:

> 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)

 According to http://www.unicode.org/unicode/onlinedat/languages.html,
 The valid ISO codes for hebrew are 'he' and 'iw'.
  
> > Also, this should be enabled for Persian (fa), Urdu (ur), Yiddish (yi).
> 
> Okay - I didn't really know about these.
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 

 Best regards,
  -Vlad





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