sudo apt install openjdk-8-jdk
java -version
https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html
Locale (Java Platform SE 8 )
getDisplayLanguage public String getDisplayLanguage(Locale inLocale) Returns a name for the locale's language that is appropriate for display to the user. If possible, the name returned will be localized according to inLocale. For example, if the locale
docs.oracle.com