Hebrew UI in emulator

耗尽温柔 提交于 2020-01-17 07:45:30

问题


I am trying to test an app that contains Hebrew text. However, I cannot change the android OS to display the UI in hebrew. I don't see Hebrew as one of the language choices in the Language and Input settings.

I tried using persist.sys.language=iw and persist.sys.country=IL, which shows me Hebrew (Israel) in Hebrew text in the Language setting. But, the rest of the UI is in English and my app is in English as well.

I know that Hebrew shows up as a language choice in my friend's Samsung Android phone.

I am using 4.0 with API level 14 for the emulator.

Any help would be appreciated.

Marcelo


回答1:


As far as I understand, support for various locales is dependent on the vendor. Vendors could choose to remove certain locales for whatever reason. Did your friend get the phone from the same vendor/carrier as you did.

If all else fails, there are instructions for rooted phones here and apps on the Android Market that might help.




回答2:


Android support huge variety of locales but it never means that you'll find all language support in all the devices.

In case you want any specific language support in your application you have to package the appropriate fonts for the same in your application.

Remember Android supports Open Type Fonts only.

In case you need to install specific font in your phone/ emulator then you need to either buy a device with that font support / root the device or build your own emulator with your specified fonts.



来源:https://stackoverflow.com/questions/8510878/hebrew-ui-in-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!