Created
June 12, 2015 13:02
-
-
Save XinyueZ/2a33474b4f034325777b to your computer and use it in GitHub Desktop.
Get language name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Locale.getDefault().getLanguage() ---> en | |
Locale.getDefault().getISO3Language() ---> eng | |
Locale.getDefault().getCountry() ---> US | |
Locale.getDefault().getISO3Country() ---> USA | |
Locale.getDefault().getDisplayCountry() ---> United States | |
Locale.getDefault().getDisplayName() ---> English (United States) | |
Locale.getDefault().toString() ---> en_US | |
Locale.getDefault().getDisplayLanguage()---> English |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment