i18n for custom fields created by Designer

I created a custom field with designer:
How can I internationalize the label of this field? Nore appointmentTime.setText(getTranslation(“carin.qai.call.quickFilter.selectMode”)); nore
appointmentTime.setAttribute(“label”, getTranslation(“carin.qai.call.quickFilter.selectMode”)); works

How about setLabel()?