I need to translate the attribute values for the form validations. So I have duplicated the English validation errors and translated them to Farsi. Everything works but the attribute values are still in English. I thought I need to put the translation of attributes in the attributes array in the validation file as follows, but it's not working.
'attributes' => [
'username '=>'نام کاربری'
],
How can I translate them?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire