Reputation:
We are currently working with Flex creating a web application. We are having trouble taking Arabic text from the user and displaying correctly (like in a chat feature). While presumably Flash 10 will solve this problem, we don't want to force our users to upgrade.
Flash flips the order of the sentence's words. so if I wrote something like "Hello World" in the text field, it will appear as "World Hello" in the chat area.
Is there a standard way to work with Right to Left languages in Flash?
*We currently flip the order of the words with a function, but it things get messed up when using English or special characters in the chat like :) or :D *
Upvotes: 4
Views: 5341
Reputation: 5787
There is no decent way to support that. Anything you try will be a hack and will break for some cases. And definitely not work for editing.
I would say: ask the users to update.
The penetration of Player 10 is already above 90% in all markets (http://www.adobe.com/products/player_census/flashplayer/version_penetration.html).
And users can understand that you have no choice. It is "update or support for your language is abysmal".
Upvotes: 1
Reputation:
you might want to try this: http://www.red-id.com/blog/category/RTL-Flash.aspx
Upvotes: 1
Reputation: 7769
This would appear to be a Unicode issue, and so a quick talaash via Google gave me Unicode in Flash, but probably more to the point is Flash: RTL (right-to-left), seeing as it mentions Arabic (along with other RTL languages) as well as RTL text output class for Flash.
HTH
Upvotes: 1