code: public static List<String> getLabelListByLanguage(final Locale locale, final LabelOrBuilder label) throws NotAvailableException {
          return getLabelListByLanguage(locale.getLanguage(), label);
      }
docs: Get a list of all labels for a locale in a label type. This is equivalent to calling
  {@link #getLabelListByLanguage(String, LabelOrBuilder)} 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 label  the label type that is searched for a label list
  
  @return a list of all labels for the locale in the language type
  
  @throws NotAvailableException if no entry for the locale exist in the label type