Good afternoon, does anyone know how to create the internalization file on Android?
I want to create a strings.xml (en), thank you.
Good afternoon, does anyone know how to create the internalization file on Android?
I want to create a strings.xml (en), thank you.
Very succinctly, you just need to create a directory, for example values-en
within res
. en
means English. It could be fr
, French, and so on.
In this way for each key, you do the translation.
Example:
res / values
<string name="title_settings">Configurações</string>
res / values-in
<string name="title_settings">Configurations</string>
Read more here about Compatibility with different devices .