Internalization file, how to create it? [duplicate]

2

Good afternoon, does anyone know how to create the internalization file on Android?

I want to create a strings.xml (en), thank you.

    
asked by anonymous 31.03.2017 / 22:01

1 answer

1

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 .

    
31.03.2017 / 22:06