service.impl/src/main/java/com/hack23/cia/service/impl/ConfigurationManagerImpl.java
private LanguageData findLanguage(final String locale) {
		for (final LanguageData languageData : languageDataDAO.getAll()) {
			if (languageData.getLanguageCode().equalsIgnoreCase(locale)) {
				return languageData;
			}
		}
		return null;
	}
private LanguageData findLanguage(final String locale) {
		for (final LanguageData languageData : languageDataDAO.getAll()) {
			if (languageData.getLanguageCode().equalsIgnoreCase(locale)) {
				return languageData;
			}
		}
		return null;
	}
private LanguageData findLanguage ( final String locale ) { for ( final LanguageData languageData : languageDataDAO . getAll ( ) ) { if ( languageData . getLanguageCode ( ) . equalsIgnoreCase ( locale ) ) { return languageData ; } } return null ; }
Find language.

@param locale
the locale
@return the language data
Find language .