I am using the arabic font at the /assets/fonts folder and then used the locale of ctx.getResources().configuration().locale to change the locale to the desired ones (having previously added the configuration settings uses-permition at the xml manifest), and it works. It changes to the arabic language.
The next step is to use arabic fonts, for that y use ctx.getAssetsManager(), and there I specify the font to the TextView in the way "tv.setTypeface" so that arabic letters are readable, and I used a reshaper (capital letters don't work properly when reshaping, but the rest works fine like this). The only thing is, Menus and Titles in Dialogs use textviews (i suppose that), but you can not access to the textview and set a typeface. In dialogs you have the option of setting a view, so you can define your own textview so it is no problem, but I do not know how to do that in the Menu object. On 22 feb, 12:08, G_man <[email protected]> wrote: > I don't mean to let you down but as of now, android does not have an > arabic font > > I have a g1 and I can view arabic (disconnected letters) but this is > because I have root access and I replaced the default system font with > one that supports arabic > your application will not be readable for users. > > There is a way to do that. > You have to put an arabic font as a part of your program and do some > sort of reshaper or make it viewable as images. Otherwise no one will > be able to see what your application prints on screen. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

