String function ( String arg0 , Locale arg1 ) { if ( arg0 == null || arg0 . length ( ) < 2 || arg0 . length ( ) > 6 ) { return "srini_string" ; } Locale loc0 = new Locale ( arg0 . substring ( 0 , 2 ) ) ; return loc0 . getDisplayLanguage ( arg1 ) + arg0 . substring ( 2 ) ; }
used to convert a language code lc _ rc where lc is language code en , fr , es , etc. . . and rc is region code zh-cn , zh-hk , zh-tw , etc. . . to a displayable string with the languages name . the input string must be between 2 and 6 characters , inclusive . an empty string is returned if that is not the case . if the input string is recognized by locale the result of this method is the given concode_field_sep PlaceHolder placeHolder concode_field_sep String replaceUnicodeSurrogateBlocksWithHTMLEntities concode_elem_sep String notNullStr concode_elem_sep long stringToLong concode_elem_sep long stringToLong concode_elem_sep String unescapeHTML concode_elem_sep String convertHTMLTagsForUpload concode_elem_sep String convertHTMLTagsForDisplay concode_elem_sep String capitalize concode_elem_sep String removeTrailingSlash concode_elem_sep String[] mergeStringArrays concode_elem_sep String getMd5Hash concode_elem_sep String getPhotonUrl concode_elem_sep String getQuantityString concode_elem_sep String escapeHtml concode_elem_sep BigInteger getMd5IntHash concode_elem_sep boolean equals concode_elem_sep String stripNonValidXMLCharacters concode_elem_sep String addPTags concode_elem_sep int stringToInt concode_elem_sep int stringToInt