[fpc-pascal] LTR or RTL info from users locale settings?

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Apr 6 20:15:16 CEST 2009

On Mon, Apr 6, 2009 at 7:30 PM, ik <idokan at gmail.com> wrote:
> No, you can not know by the "normal" locale. You must check to see what is
> the type of locale:
> 1. Hebrew
> 2. Many forms of Arabic (you have more then 6 if I remember correctly)
> That's the only way I know to detect if the locale is RightToLeft or
> LeftToRight.

Thanks. I'll double check what Java does, seeing that that is the only
other framework I know that supports so many platforms and has the
direction detection built in.

> I started working on something for Lazarus but I accidently deleted it
> before backup,

Git [http://git-scm.com/] is your friend!  ;-)

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-pascal mailing list