I’ve a simple question : I would like to make an international toast depending on the user’s language.
Toast.makeText(this,"hello", Toast.LENGTH_SHORT).show();
I’ve created the folders “values” and “values-fr” with the file string.xml
wherein there is respectively :
<string name="hello">Hello World</string>
and
<string name="hello">Bonjour</string>
Now how to add it in my toast ?
Thank you in advance 😉
You can write following.