Support the ongoing development of Laravel.io →

tibihub

Joined 13 Mar 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0
posted 10 years ago

{{trans('messages.title')}} use vars something like $title

Hi, Is it possible when I translate a title like {{trans('page.title')}},receive the value 'title'...

0 Likes
3 Replies
Solved
replied 10 years ago

{{trans('messages.title')}} use vars something like $title

Thank you both! I was just using one . like {{trans('page.' $title )}} My mistake. Thank you ag...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.