If you want to get the selected language of your device. This, this might help uyou:
Locale.getDefault().getDisplayLanguage();
(Note: This answer is edited previously and my code is copy pasted here. I revert it to original version. You can see original code from my answer which is in the same question page: Get the current language in device )
If you want to get the selected language of your device. This might help u
Locale.getDefault().getDisplayLanguage();
(Note: This answer is edited previously and my code is copy pasted here. I revert it to original version. You can see original code from my answer which is in the same question page: Get the current language in device )
If you want to get the selected language of your device, this might help you:
Locale.getDefault().getDisplayLanguage();
This answer is edited previously and my code is copy pasted here. I revert it to original version. You can see original code from my answer which is in the same question page: http://stackoverflow.com/questions/4212320/get-the-current-language-in-device/23168383#23168383
If you want to get the selected language of your device. This might help u
Locale.getDefault().getLanguage() ---> en Locale.getDefault().getISO3Language() ---> eng Locale.getDefault().getCountry() ---> US Locale.getDefault().getISO3Country() ---> USA Locale.getDefault().toString() ---> en_US Locale.getDefault().getDisplayLanguage() ---> English Locale.getDefault().getDisplayCountry() ---> United States Locale.getDefault().getDisplayName() ---> English (United States);
(Note: This answer is edited previously and my code is copy pasted here. I revert it to original version. You can see original code from my answer which is in the same question page: Get the current language in device )
If you want to get the selected language of your device. This might help u
Locale.getDefault().getLanguage() ---> en Locale.getDefault().getISO3Language() ---> eng Locale.getDefault().getCountry() ---> US Locale.getDefault().getISO3Country() ---> USA Locale.getDefault().toString() ---> en_US Locale.getDefault().getDisplayLanguage() ---> English Locale.getDefault().getDisplayCountry() ---> United States Locale.getDefault().getDisplayName() ---> English (United States)
If you want to get the selected language of your device. This might help u
Locale.getDefault().getDisplayLanguage();
(Note: This answer is edited previously and my code is copy pasted here. I revert it to original version. You can see original code from my answer which is in the same question page: Get the current language in device )
This should be in the most rated answer. Since it gives more information than the original. This way people do not have to scroll down to the other ones.