lundi 27 février 2017

how to get laravel single locale string in blade template?

This is my message.php file which in my locale file.Code are given bellow.

return [
    'title' => 'This is Bangla Page',
];

Now i want to retrieve my string 'This is Bangla Page' . How to do that. I use blade templating and write @lang('messages.title') but it shows me Array to string conversion error.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire