I use Laravel Framework, and found this issue:
$var = ($userdata->age > 18 ? 'OK' : '@lang("basics.no_access")');
Of course I want to get the nice text from resources/lang/en/basics.php and not echo the '@lang("basics.no_access")' text.
How can I do this?