Mayur More Mayur More - 2 months ago 35
Android Question

Android localization arabic language

There is localization available in android for various language strings.
I need to localize layouts for arabic language.
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.


Seems you are looking for this recently added to Android:

Probably earlier versions of Android you need to implement some logic here on you're own. See here the next link for suggestions:

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: