Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bidi Right to Left Language in Firemonkey Mobile

How can show any string in right to left languages such as Persian or Arabic in Android or iOS with FireMonkey?

I Use Embarcadero Rad Studio XE6 (Delphi) and when I put a TLabel or TEdit and set its text to "سلام" (Hello in Persian) everything is OK in Windows and Mac but in Mobile platform that is wrong display, in Android shows "م ا ل س" and in iOS does not show anything but space.

The problem still exists in Delphi XE7.

like image 910
Amin Avatar asked Sep 04 '14 13:09

Amin


1 Answers

As per LURD's suggestions.
Download and use D.P.F Delphi Android Native Components and/or D.P.F Delphi iOS Native Components.
That will fix the problem in XE7 and prior.
According to the documentation with the Delphi XE8 beta the problem is fixed there as well.

like image 149
Johan Avatar answered Sep 27 '22 18:09

Johan