public static Locale getLocale(final String languageCode) {
        LocaleInfo info = lookupLocaleInfo(languageCode);
        return info.locale;
    }
public static Locale getLocale ( final String languageCode ) { LocaleInfo info = lookupLocaleInfo ( languageCode ) ; return info . locale ; }
Returns Locale from cache where Locale may be specified also using language code.
Converts a locale string like "en", "en_US" or "en_US_win" to <b>new</b> Java locale object.