Head tag title, blade, and language

Posted 3 months ago by fredemagi

I'm trying to change the tab title based on language like:

@section('title', '{{ trans('inventory.tab') }}')

However, it fails with: "syntax error, unexpected 'inventory' (T_STRING), expecting ',' or ')'".

Anyone else who experience this?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.