In Java it is easy enough to get the default Locale, but is there a way to get the short code that you see so often in websites such as lang=en or lang=zh
I need to send to information to a website but need the short code so the response will be in the correct language.
Locale.getDefault().getLanguage();