Locale for a country is set using the constructor as shown in the following example:
Locale deLocale =
new Locale("de",
"DE");
System.
out.
println("Language: " +deLocale.
getDisplayLanguage());
System.
out.
println("Country: " +deLocale.
getDisplayCountry());
(more…)