📜  laravel 翻译参数发送 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:53.326000             🧑  作者: Mango

代码示例1
'string1' => 'Welcome :user, Please meet :other',
You can now use, for example:

trans('string1', [ 'user' => 'Ainsley', 'other' => 'Hayden' ]);