3

I have an app in Delphi Xe7 for android mobile. It works well For English Language .but bad for Farsi or Arabic Or The right-to-left languages .'سلام' ------> 'م ل ا س' I found a few solutions

  1. D.P.F Component for Xe7 and android .this bad for big app. in this component use base java class to create component Like Java . i test this component and demo project Good Work . but if i add a Tabcontrol to my form and add a listview on the tabcontrol app not work and not show list view.
  2. use FarsiReshaper.pas; this unit Right To left word and i use this Class to convert string to show right to left.

    Procedure TForm1.Create(Sender:Tobject)
    var
      Farsi:TFarsi;
    Begin
      Button1.text:=Farsi.Convert(Button1.text)
    End
    

But this method is faulty

  • For all component on form should run this code
  • For listView and TreeView component should run this Method for all Items and this Waste of time
  • In edit mode like Tedit not work

Thanks Javad Adel

LU RD
  • 34,438
  • 5
  • 88
  • 296
javad adel
  • 83
  • 4
  • See [Bidi Right to Left Language in Firemonkey Mobile](http://stackoverflow.com/q/25666598/576719) and [Delphi XE5 right to left languages don't appear as they should in android](http://stackoverflow.com/q/18883356/576719). – LU RD Feb 13 '15 at 08:49
  • where to find FarsiReshaper ? – Vlark.Lopin Nov 26 '16 at 02:56

1 Answers1

0

FireMonkey does not yet support RTL languages. This is on the roadmap, I believe. It seems that is incorrect. So far as we can tell, supporting RTL is not even on Embarcadero's road map.

Until such a time as RTL support is added, it's hard to see Delphi as being a sensible option for you. The native Android development tools have comprehensive RTL support.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490