4
votes

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

1

1 Answers

1
votes

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.