这是我的 message.php 文件,在我的语言环境文件中。代码如下所示。
return [
'title' => 'This is Bangla Page',
];
现在我想检索我的字符串 'This is Bangla Page' 。怎么做。我使用刀片模板并写入@lang('messages.title')
,但它显示了数组到字符串的转换错误。
这是我的 message.php 文件,在我的语言环境文件中。代码如下所示。
return [
'title' => 'This is Bangla Page',
];
现在我想检索我的字符串 'This is Bangla Page' 。怎么做。我使用刀片模板并写入@lang('messages.title')
,但它显示了数组到字符串的转换错误。