Dec 4, 2013 Replies: 4 I learned here http://www.b4x.com/android/forum/threads/hebrew-direction.34882/ that Right to Left languages are not supported yet by jave, and made this class to solve the problem of wrong-direction in Hebrew text display. I created the important methods, others can be added. example attached. Edit: I improved the class to ver 2 by changing the reversing sub to handle single words in a sentence, so the combination of English and Hebrew words in a sentence goes well. I leave the first version also. Reverse sub can be used for labels and other text-showing places. Attachments htext_example.zip htext_example.zip 2.4 KB · Views: 806 htext2_example.zip htext2_example.zip 2.5 KB · Views: 845 Last edited: Jan 20, 2014 Click to expand...
I learned here http://www.b4x.com/android/forum/threads/hebrew-direction.34882/ that Right to Left languages are not supported yet by jave, and made this class to solve the problem of wrong-direction in Hebrew text display. I created the important methods, others can be added. example attached. Edit: I improved the class to ver 2 by changing the reversing sub to handle single words in a sentence, so the combination of English and Hebrew words in a sentence goes well. I leave the first version also. Reverse sub can be used for labels and other text-showing places.
Olaan Expert Licensed User Longtime User Dec 6, 2013 #3 Hi Derez, Do you some example to make clearly? I need try to test.
derez Expert Licensed User Longtime User Dec 7, 2013 #4 I replaced the file in the first post with an example. You'll have to change the limits of the ascii codes to fit Thay. Last edited: Dec 7, 2013
I replaced the file in the first post with an example. You'll have to change the limits of the ascii codes to fit Thay.