在Firemonkey手机中的Bidi左右语言 [英] Bidi Right to Left Language in Firemonkey Mobile
问题描述
我使用Embarcadero Rad Studio XE6(Delphi)和当我放置一个TLabel或TEdit并将其文本设置为سلام(你好,在波斯语中)一切都可以在Windows和Mac中,但在移动平台是错误的显示,在Android中显示مالس和在iOS不显示除空格之外的任何东西。
Delphi XE7中仍然存在问题。
根据LURD的建议。
下载并使用 DPF Delphi Android Native组件和/或 DPF Delphi iOS本机组件。
这将解决问题在XE7和以前。
根据Delphi XE8 beta的文档,问题也在那里修复。
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.
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.
这篇关于在Firemonkey手机中的Bidi左右语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!