Android的本地化阿拉伯语 [英] Android localization arabic language
问题描述
有一个在Android的本地化提供各种语言的字符串。 我需要为阿拉伯语本地化布局。 例: 在英语中我的布局是: 名称(文本字段):姓名(EditText上) 但是,对于阿拉伯语这将是: 名称(EditText上):名称(文本字段) 有没有办法为这个在Android中,或做我必须做不同的布局本地化阿拉伯语。
There is localization available in android for various language strings. I need to localize layouts for arabic language. Example: In English my layout is: Name (TextField): Name(EditText) But for arabic it will be: Name (EditText): Name(TextField) Is there a way for this in android, or do I have to make a different layout to localize Arabic language.
推荐答案
看来你是在找这个最近添加到Android: 的http://android-developers.blogspot.de/2013/03/native-rtl-support-in-android-42.html
Seems you are looking for this recently added to Android: http://android-developers.blogspot.de/2013/03/native-rtl-support-in-android-42.html
大概是早期版本的Android系统,你需要实现一些逻辑,在这里你自己。看到这里建议,下一个环节: http://developer.android.com/guide/topics/resources/localization.html
Probably earlier versions of Android you need to implement some logic here on you're own. See here the next link for suggestions: http://developer.android.com/guide/topics/resources/localization.html
此方式,您也许可以有一个阿拉伯语特定的布局,阐述在设计一个灵活的布局。并请参阅以下网站的本地化code: 的http://colincooper.net/blog/2011/02/17/android-supported-language-and-locales/
This way you can probably have a arabic specific layout, explained in section "Design a flexible layout". And see the following website for the localization code: http://colincooper.net/blog/2011/02/17/android-supported-language-and-locales/
这篇关于Android的本地化阿拉伯语的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!