views:

399

answers:

3

Hi There,

My application displays Hebrew text which comes from a Web Service.
When a sentence contains digits (in the middle of it), the digits appear in a mirror view:
29 appears as 92, 21:45 appears as 54:12 and 2,000 appears as 000,2.
Also, when a sentence starts with digits or English characters, they get thrown to the end of the sentence messing it all up...

Does anyone have an idea how can this be solved? Is RTL support in Android still immature?
Thanks,
Rob

+1  A: 

Is RTL support in Android still immature?

If by "immature" you mean "nonexistent", then, yes, it is immature. Each Android SDK release lists the supported languages, and you will notice that RTL languages are not among them.

CommonsWare
Thank you for your reply. So, there is nothing that can be done? no workaround? I mean, there are devices with Hebrew interface which have been customized by local carriers and applications do display Hebrew (to some extent)...
Rob
I am not aware of a general-purpose workaround short of substantial firmware modifications. There has been somewhat greater discussion of this issue *vis a vis* Arabic, so you might want to search the official Android Google Groups for "Arabic" and see if those posts give you any ideas.
CommonsWare
OK, much obliged for your attention.
Rob
A: 

This is fixed at least in CyanogenMod. I'd very much like to know which which commit has the fix exactly

Shahar Or
+1  A: 

Try presenting your text in a webkit control, its RTL support works fine, as long as the HTML code is tagged appropriately.

VitalyB
+1 for such a simple clever idea.
MatrixFrog