String function ( String arg0 ) { if ( arg0 != null && ! arg0 . isEmpty ( ) ) { arg0 = languageCodeToLanguageCode ( arg0 ) ; for ( String loc0 : UMS_BCP47_CODES ) { if ( loc0 . equalsIgnoreCase ( arg0 ) ) { return loc0 ; } } } return null ; }
returns a correctly capitalized ieft bcp 47 language tag if the language tag is supported by ums , or returns null . concode_field_sep String[] UMS_LANGUAGES concode_elem_sep String[] UMS_BCP47_CODES concode_field_sep Locale toLocale concode_elem_sep Locale toLocale concode_elem_sep String languageCodeToLanguageCode concode_elem_sep String[] getLanguageTags concode_elem_sep boolean isValid concode_elem_sep boolean isValid concode_elem_sep String localeToLanguageCode concode_elem_sep String[] getLanguageNames concode_elem_sep boolean isCompatible