Something like this should work:
{{trans('page.' . $title )}}
Yes, http://laravel.com/docs/localization#language-files
so just put placeholder to your lang file and pass the title for it: Lang::get('messages.welcome', array('name' => 'Dayle'));
Thank you both!
I was just using one . like {{trans('page.' $title )}}
My mistake.
Thank you again
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community