Custom asset attributes

Dears, i am trying to implement custom asset and have a question about attributes

  1. in myasset.java

public static final AttributeDescriptor DATE_SAMPLED = new AttributeDescriptor<>(“dateSampled”, ValueType.TIMESTAMP,
new MetaItem<>(MetaItemType.RULE_STATE),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS));

in the UI a date is not rendered:


once i click arrow, it shows date, which again disappears after reload the page

  1. how to add translation into drop down list items of an attribute (and did i implement it correctly?)
public static final AttributeDescriptor<String> TYPE_SPECIMEN = new AttributeDescriptor<>("typeOfSpecimen", ValueType.TEXT,
        new MetaItem<>(MetaItemType.RULE_STATE),
        new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
        .withConstraints(new ValueConstraint.AllowedValues("Cube 150×150×150mm", "Cylinder 150×300mm"));

in the UI a date is not rendered:

I don’t understand the full context behind this.
Does the attribute have a value in the screenshot?
.

how to add translation into drop down list items of an attribute (and did i implement it correctly?)

To my knowledge this is not possible.
As there isn’t a way to add additional translations to the Manager UI.