lundi 2 novembre 2015

translation not interpreted in Laravel 5

In laravel 5, when I write this in my view:

@include("tournaments.form", ["submitButton" => "  {{trans('crud.addTournament')}}" ])

I get this:

<?php echo e(trans('crud.addTournament')); ?>

How can I do so that it can be interpreted?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire