code: public Attribute getLabelAttribute(String langCode) {
      Attribute labelAttr = getLabelAttribute();
      Attribute i18nLabelAttr =
          labelAttr != null ? getAttribute(labelAttr.getName() + '-' + langCode) : null;
      return i18nLabelAttr != null ? i18nLabelAttr : labelAttr;
    }
docs: Gets the correct label attribute for the given language, or the default if not found
  
  @param langCode language code
  @return label attribute