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

ik idokan at gmail.com
Mon Apr 6 19:30:31 CEST 2009

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
I started working on something for Lazarus but I accidently deleted it
before backup, so you'll have to do your own research (wikipedia and some
ISO language code will help).


On Mon, Apr 6, 2009 at 8:17 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com>wrote:

> Hi,
> Does the RTL have any why to notify me if the users locale is
> LeftToRight or RightToLeft? I'm porting the MiG Layout Manager from
> Java to Free Pascal for use with fpGUI Toolkit and Lazarus LCL, and
> need to somehow find this information.
> Regards,
>  - Graeme -
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20090406/2b1cd206/attachment.html>

More information about the fpc-pascal mailing list