public final class LanguageUtils extends Object
LanguageManager and related classes.LanguageManager| Constructor and Description |
|---|
LanguageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Locale |
fromString(String locale)
|
static Locale |
getSystemLocale()
Returns system
Locale. |
static String |
toString(Locale locale)
|
@NotNull public static Locale getSystemLocale()
Locale.
Note that this is not purely "system" locale, but the one JVM receive at startup, it can also be preconfigured.
Also it is not tied to Locale.getDefault() so it will still return Locale based on system properties.LocaleCopyright © 2020. All rights reserved.