To support foreign languages, you should create a values- "cod" folder - where "cod" is a two-letter code that identifies the language for which you are supporting. You can check this table to see the code for other languages - inside the res and insert a strings.xml file into the values- "cod folder translated into the desired language.
Ex: If you want to support, for example, Spanish and French, you should create two values-en and values- / strong> in the res folder, and you must create two strings.xml files - each with a translation into one language - in the corresponding folders:
res/
values/
strings.xml
values-es/
strings.xml
values-fr/
strings.xml
The strings.xml file inside the values-en folder looks like this:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="title">Mi Aplicación</string>
<string name="hello_world">Hola Mundo!</string>
</resources>
And the strings.xml file inside the values-fr folder looks like this:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="title">Mon Application</string>
<string name="hello_world">Bonjour le monde !</string>
</resources>
For more information: