Search code examples
androiddelphifiremonkeydelphi-xe5

Delphi XE5 right to left languages don't appear as they should in android


as the title says , a text from a RTL language like persian or arabic doesnt show well in android for example the word "سلام" shows as "م ا ل س". this problem happens even in text inputs (which i thought they were native and native android textboxes support that) is there a way to fix this?


Solution

  • 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.

    As a last resort (if you feel up to it), someone has taken the effort to patch the XE5 source code to enable BiDi support. See: https://docs.google.com/file/d/0BwumWe43CaijVDRQZzNQbXNSLWc/edit?usp=sharing