<div dir="ltr">The patch is wrong, please ignore it for now, until I'll send a new patch.<br><br>I think in general that the way we detect the language direction is wrong. <br>For example the detection is by the translation file, however what if the translation file does not include any translations, or is only full 10% or less. Such direction will do the wrong job, because most of the text will be in English, yet the direction will be from right to left and that's render the usage to be very hard.<br>
<br>So we should have a more reliable way to do so imho.<br><br>Ido<br><br>
<br><br><div class="gmail_quote">On Sat, Feb 19, 2011 at 01:01, ik <span dir="ltr"><<a href="mailto:idokan@gmail.com">idokan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hello All,<br><br>I've created a <a href="http://bugs.freepascal.org/view.php?id=18778" target="_blank">patch</a> to add support for SysLocale.MiddleEast and SysLocale.RightToLeft, however I'm not sure that the way I implement it, was a valid way.<br>
First of all, I do not know how Delphi does it, and secondly, I'm not sure if it should take precedence or should I rewrite the direction function instead, and if so, what should be first in my checking.<br><br>So I wish to raise a discussion on this implementation before someone will apply this patch.<br>
<br>Thanks,<br>Ido<br><br clear="all"><div dir="ltr">LINESIP - Opening the source for communication<br><a href="http://www.linesip.com" target="_blank">http://www.linesip.com</a><br><a href="http://www.linesip.co.il" target="_blank">http://www.linesip.co.il</a><br>
<br></div><br>
</div>
</blockquote></div><br></div>