Saturday, 30 July 2016

android - Get the current language in device



How can we get the current language selected in the Android device?


Answer



If you want to get the selected language of your device, this might help you:




Locale.getDefault().getDisplayLanguage();

No comments:

Post a Comment