For example, if the language of your Android phone is English, then strings.xml of English will be loaded by Android. So, basically Android loads the resources related to language based on the system locale setting. So, similarly, for other languages, you need to add their strings.xml file. In this blog, we will learn how to change the App locale in Android with ease.īy default, you have English as your default language for the whole app and the text corresponding to the English language will be there in our strings.xml file.
Like "Hello" in English will become "Bonjour" in French and "नमस्ते" in Hindi.īut how can we change the language? That's the topic for this blog. For example, if you have English, French, and Hindi users, then you can have language support for all these languages.
By languages, I mean the language of the text that we see in any mobile application. In your app, you can add as many languages as you want.