How to get list of all the installed or supported languages that are listed under "Language and Input settings" programmatically in android.
I have used Resources.getSystem().getAssets().getLocales() but it gives me only code of that language like en, en\_us but I need both code and display name.
I have also tried with Locale.getAvailableLocales() but it gives me repeated items and too big list.

Please tell me what is the correct way of doing this.