code: public static String getLabelByLanguage(final Locale locale, final LabelOrBuilder label) throws NotAvailableException {
          return getLabelByLanguage(locale.getLanguage(), label);
      }
docs: Get the first label for a languageCode from a label type. This is equivalent to calling
  {@link #getLabelByLanguage(String, LabelOrBuilder)} but the language code is extracted from the locale by calling
  {@link Locale#getLanguage()}.
  
  @param locale the locale from which a language code is extracted
  @param label  the label type which is searched for labels in the language
  
  @return the first label from the label type for the locale
  
  @throws NotAvailableException if no label list for the locale exists of if the list is empty