final Set locales= SpellCheckEngine.getAvailableLocales();
final Set locales= SpellCheckEngine.getSupportedLocales();
	protected static IStatus validateLocale(final String locale) {		final StatusInfo status= new StatusInfo(IStatus.ERROR, PreferencesMessages.SpellingPreferencePage_locale_error); 		final Set locales= SpellCheckEngine.getAvailableLocales();		Locale current= null;		for (final Iterator iterator= locales.iterator(); iterator.hasNext();) {			current= (Locale)iterator.next();			if (current.toString().equals(locale))				return new StatusInfo();		}		return status;	}