mercredi 30 mai 2018

A default localization lang file doesn't work

I am making small fields changes to the register a user form in register.blade.php file generated by artisan make:auth by changing the Name input field to First Name

so within /resources/lang/en/moo.php I put

return [
    'fname' => 'First Name',
    'lname' => 'Last Name'
];

and in the blade template

<label for="fname"></label>

however the page shows fname as a result so the localization property is not applied. Any ideas what is causing the issue?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire