public static Set<Locale> getAvailableLocales() {
        Locale[] l = DecimalFormatSymbols.getAvailableLocales();
        return new HashSet<Locale>(Arrays.asList(l));
    }
public static Set < Locale > getAvailableLocales ( ) { Locale [ ] l = DecimalFormatSymbols . getAvailableLocales ( ) ; return new HashSet < Locale > ( Arrays . asList ( l ) ) ; }
Lists all the locales that are supported.
<p>
The locale 'en_US' will always be present.

@return an array of locales for which localization is supported