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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -