4

How to Change the Whole App Language in Android?

 2 years ago
source link: https://www.geeksforgeeks.org/videos/how-to-change-the-whole-app-language-in-android/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
How to Change the Whole App Language in Android?
How to Change the Whole App Language in Android?

Android 7.0 (API level 24) provides support for multilingual users, allowing the users to select multiple locales in the setting. A Locale object represents a specific geographical, political, or cultural region. Operations that require these Locale to perform a task are called locale-sensitive and use the Locale to tailor information for the user. For example, displaying a number is a locale-sensitive operation so the number should be formatted according to the conventions of the user’s native region, culture, or country.

In this video, we will convert the language of the app from English to Hindi and vice-versa, even the name of the app at the top (title bar) will be changed. We will use Alert dialog to open language preference and one of the languages can be selected. We are going to implement this project using the Kotlin language.

Related article: https://www.geeksforgeeks.org/how-to-change-the-whole-app-language-in-android-programmatically/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK