code: public String getAsText() {
          Enum<?> value = (Enum<?>) getValue();
          if (value == null) {
              return "";
          }
  
          String text = getMessagesAccessor().getMessage(messagesKeyPrefix + value.name(), (String) null);
          if (text == null) {
              return value.toString();
          } else {
              return text;
          }
      }
docs: Format the Enum as translated String