List of usage examples for java.util Locale getDefault
public static Locale getDefault()
From source file:Main.java
public static String getLang() { return Locale.getDefault().getLanguage(); }
From source file:Main.java
public static String getRegion() { return Locale.getDefault().getCountry().toString(); }
From source file:Main.java
public static String getLanguage() { return Locale.getDefault().getCountry(); }
From source file:Main.java
public static String getCountry() { return Locale.getDefault().getCountry(); }
From source file:Main.java
public static boolean isLocaleKorea() { return Locale.getDefault().getCountry().equals(Locale.KOREA.getCountry()); }
From source file:Main.java
public static String getSysLanguage() { return Locale.getDefault().getLanguage(); }
From source file:Main.java
final static public String getLanguage() { return Locale.getDefault().getLanguage(); }
From source file:Main.java
public static boolean isRTL() { return isRTL(Locale.getDefault()); }
From source file:Main.java
public static boolean isLocale(String str) { return Locale.getDefault().getLanguage().equals(str); }
From source file:Main.java
public static String getCurrentCountryCode() { return Locale.getDefault().getCountry().trim(); }