private LanguageData findLanguage ( final String locale ) { for ( final LanguageData languageData : languageDataDAO . getAll ( ) ) { if ( languageData . getLanguageCode ( ) . equalsIgnoreCase ( locale ) ) { return languageData ; } } return null ; }
Find language .