Use Laravel translator in translation string
1 answer
You can use language specific attributes for this inside the language check file lang/nl/validation.php
in an array attributes
, e.g .:
'attributes' => [
'name' => 'naam'
'password' => 'wachtwoord'
],
This will translate these attributes in all forms.
for a broader check explanation: Laravel's "nice names" validation attributes
+3
source to share