Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel translation parameter send

'string1' => 'Welcome :user, Please meet :other',
You can now use, for example:

trans('string1', [ 'user' => 'Ainsley', 'other' => 'Hayden' ]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #translation #parameter #send
ADD COMMENT
Topic
Name
1+4 =