code: public static String getMultiLanguageTextByLanguage(final Locale locale, final MultiLanguageTextOrBuilder multiLanguageText) throws NotAvailableException {
          return getMultiLanguageTextByLanguage(locale.getLanguage(), multiLanguageText);
      }
docs: Get the multiLanguageText for a locale in a multiLanguageText type. This is equivalent to calling
  {@link #getMultiLanguageTextByLanguage(String, MultiLanguageTextOrBuilder)} but the language code is extracted from the locale by calling
  {@link Locale#getLanguage()}.
  
  @param locale      the locale from which the language code is extracted
  @param multiLanguageText the multiLanguageText type that is searched for a multiLanguageText list
  
  @return the multiLanguageText for the locale in the language type
  
  @throws NotAvailableException if no entry for the locale exist in the multiLanguageText type