Android examples for java.util:Locale
is Chinese the system language
import java.util.Locale; public class Main { public static boolean isZh() { if (getCurrentLauguage().equals("zh")) { return true; }//from w ww . j a va 2 s. c om return false; } public static String getCurrentLauguage() { String mCurrentLanguage = Locale.getDefault().getLanguage(); return mCurrentLanguage; } }