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.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2l5OSVP
via IFTTT

Aucun commentaire:

Enregistrer un commentaire