What Is The Status Of Right To Left Languages On Android?
Solution 1:
Starting with android 4.2 , there is a little more info known about the special RTL attributes , and there is even an option to mirror layouts automatically for RTL languages .
More info can be found here .
Hopefully , they will add more information about how to use it , including some sample code and maybe even a support library on this matter.
EDIT: now they've added some more information of how to use the new RTL support:
I wonder though if the NIKUD ( Hebrew equivalent to vowels, except that they are optional and they are shown as dots instead of letters) works fine now .
EDIT: Now i've tested it, and it actually works really well (this is the first chapter of the holy bible) :
Solution 2:
RTL support in android got some improvement in ICS. Before that in gingerbread, it was device specific e.g. each manufacturer/operator implemented their own BiDi solutions which caused some inconsistancy in applications
its not needed. Good BiDi knows to mirror text view and canvas.draw text by initial letter utf8 code.. which let you worry less about BiDi and more about your app. Just don't force gravity and fill parent on text view
No, there is qualifiers for Arabic/Hebrew etc.. where you can change practically everything. But good device implementation will not need anything but translations.
that may happen if you have some old or device specific API installed. Therefore it won't work android-wide and cause compilation errors. But there are more reasons for it to happen...
Generally I advise you to ignore the BiDi issue for two reasons:
people from countries that use rtl usually have devices which process it pretty good if not then its their problem.
fixing your BiDi for one device will cause other devices not to comply. And that's something was done year ago.. and luckily developers finally stopped doing this mistake
Post a Comment for "What Is The Status Of Right To Left Languages On Android?"