Android format locale to ANSI NISO-Z39 -
i need locale formatted ansi niso-z39 standard. (it means example "eng", "fre", "ger", etc.)
here how locale :
locale current = getresources().getconfiguration().locale;
we can with
getdefaultlocale()
but how format please ? thanks
use string langiso3 = locale.getdefault().getiso3language();
http://developer.android.com/reference/java/util/locale.html#getiso3language()
Comments
Post a Comment