In the /res folder in the project, we have stored all the resources files we need in our application. It is up to us to use them properly. In our case, lets have a look to the most important files/folder to our purpose.
/res/values
In this folder we can find the “string.xml” file. We can...well, we MUST use this file to store all the strings we are using in the application.
/res/drawable
Here, we store the images of the application, Its preferable to store them in PNG format.
Well, once we have introduced this files / folders...but...what relationship have this with the languages? Lets see.
If we use the ISO 639-1 Code (Code for language representation) in the resources folders like this:
values-es
drawable-es
for Spanish or
values-fr
drawable-fr
for French
and you store in them the strings and the images in the proper language, every time you change the mobile language, it will change in your application too. This easy.