@Nullable
  private Language getLanguageForLocalizedName(String languageName) {
    for (Language element : Languages.get()) {
      if (languageName.equals(element.getTranslatedName(messages))) {
        return element;
      }
    }
    return null;
  }
@ Nullable private Language getLanguageForLocalizedName ( String languageName ) { for ( Language element : Languages . get ( ) ) { if ( languageName . equals ( element . getTranslatedName ( messages ) ) ) { return element ; } } return null ; }
Get the Language object for the given localized language name.

@param languageName e.g. <code>English</code> or <code>German</code> (case is significant)
@return a Language object or <code>null</code> if the language could not be found