问题描述
我在 developer.android 官方网站上遵循教程 Hello L10,但没有关于阿拉伯语.
i have followed tutorial Hello L10 in developer.android official website,but nothing regarding arabic.
Android 应用程序使用阿拉伯语需要哪些步骤?例如,用户可以使用组合框或单选按钮从英语或阿拉伯语中进行选择.(我已经这样做了).
what are the steps needed for an android application to be in arabic?for eg,User can have either a combobox or radio button to choose from english or arabic.(i have done this).
现在,如果用户选择阿拉伯语,则整个应用程序字符都应转换为阿拉伯语.即使显示的键盘也应该是阿拉伯语?如果我必须为此制作自定义键盘?或其他任何方式?我没有任何想法.有任何教程/演示吗?.但是我已经用谷歌搜索了但没有得到具体的材料.
有什么建议吗?
Now if user selects arabic whole application characters should be converted in arabic.even the keyboard presented should be in arabic?if i have to make custom keyboard for this?or any other way?i dont have any idea.Any tutorial/demo ?.However i have googled around but not get specific material.
Any suggestion?
推荐答案
用户通过设置应用程序在设备级别设置他们的区域设置.如果他们的设备支持阿拉伯语——一些运行 Android 2.3 和 3.0 的设备会——那么如果你的应用程序有其资源的阿拉伯语翻译,阿拉伯语就会出现.此外,用户将获得阿拉伯语软键盘.
Users set their locale at the device level, through the Settings application. If their device supports Arabic -- some devices running Android 2.3 and 3.0 will -- then if your application has Arabic translations of its resources, the Arabic will appear. Also, the user will get an Arabic soft keyboard.
除了为您的字符串提供阿拉伯语翻译外,其余的取决于用户及其设备.
Other than providing Arabic translations for your strings, the rest is up to the user and their device.
这篇关于android应用程序阿拉伯语支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!