Someone already necessitated translate this attribute?
Estou tentando traduzir o atributo title de um input, mas somente o label é traduzido.
Alguém já necessitou traduzir este atributo?
- Code: Select all
$this->add(array (
'name' => 'state',
'type' => 'Zend\Form\Element\Select',
'attributes' => array (
'required' => 'required',
'title' => _('Please choose your State'),
'class' => 'x-small',
'id' => 'state'
),
'options' => array (
'label' => _('State:')
)
));
$this->add(array (
'name' => 'city',
'type' => 'Zend\Form\Element\Select',
'attributes' => array (
'required' => 'required',
'title' => _('Please choose your City'),
'class' => 'large',
'id' => 'city'
),
'options' => array (
'label' => _('City:')
)
));

