public function transformFormField(FormField $field)
    {
        $newfield = $field->performReadOnlyTransformation();

        $fieldname = $field->getName();
        if ($this->original->isLocalizedField($fieldname)) {
            $field->setName($this->original->getLocalizedFieldName($fieldname));
            $value = $this->original->getLocalizedValue($fieldname);
            if ($value instanceof DBField) {
                $field->setValue($value->getValue());
            } else {
                $field->setValue($value);
            }
        }

        return $this->baseTransform($newfield, $field, $fieldname);
    }