I don't know how to translate the label. So far i have:
->add('lastname', 'text', array(
'label' => 'form.last_name',
'attr' => [
'placeholder' => 'form.last_name'
]
))
The placeholder is translated correct in my input field, but in the error message the label is not translated. The error message itself is translated correct. What is the issue here?
I don't know how to translate the label. So far i have:
The placeholder is translated correct in my input field, but in the error message the label is not translated. The error message itself is translated correct. What is the issue here?