private static List<LanguageData> getSupportedLocalesLanguageData() {
		final List<LanguageData> languages = new ArrayList<>();

		for (final Locale locale : DateFormat.getAvailableLocales()) {
			final String localeString = locale.toString().trim();
			if (locale.getDisplayCountry(Locale.ENGLISH).length() == 0 && !StringUtils.isEmpty(localeString)
					&& localeString.length() == EXPECTED_LOCALE_LENGTH) {
				languages.add(new LanguageData().withCreatedDate(new Date()).withLanguageCode(localeString)
						.withLanguageName(locale.getDisplayName(Locale.ENGLISH)).withLanguageEnabled(Boolean.FALSE));

			}
		}

		return languages;
	}
private static List<LanguageData> getSupportedLocalesLanguageData() {
		final List<LanguageData> languages = new ArrayList<>();

		for (final Locale locale : DateFormat.getAvailableLocales()) {
			final String localeString = locale.toString().trim();
			if (locale.getDisplayCountry(Locale.ENGLISH).length() == 0 && !StringUtils.isEmpty(localeString)
					&& localeString.length() == EXPECTED_LOCALE_LENGTH) {
				languages.add(new LanguageData().withCreatedDate(new Date()).withLanguageCode(localeString)
						.withLanguageName(locale.getDisplayName(Locale.ENGLISH)).withLanguageEnabled(Boolean.FALSE));

			}
		}

		return languages;
	}
private static List < LanguageData > getSupportedLocalesLanguageData ( ) { final List < LanguageData > languages = new ArrayList <> ( ) ; for ( final Locale locale : DateFormat . getAvailableLocales ( ) ) { final String localeString = locale . toString ( ) . trim ( ) ; if ( locale . getDisplayCountry ( Locale . ENGLISH ) . length ( ) == 0 && ! StringUtils . isEmpty ( localeString ) && localeString . length ( ) == EXPECTED_LOCALE_LENGTH ) { languages . add ( new LanguageData ( ) . withCreatedDate ( new Date ( ) ) . withLanguageCode ( localeString ) . withLanguageName ( locale . getDisplayName ( Locale . ENGLISH ) ) . withLanguageEnabled ( Boolean . FALSE ) ) ; } } return languages ; }
Gets the supported locales language data.

@return the supported locales language data
Gets the supported locales language data .