I'm having problem using trans() function in config file, I feel it not supposed to be used that way. However I've no clue on what would be the most efficient way to translate string text in config files (files in /config folder).
Original code
<?php
return [
'daily' => 'Daily'
];
When I try to implement trans() application crashes and laravel return white page without any error messages
<?php
return [
'daily' => trans('app.daily_text')
];
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/21zhD8J
via IFTTT
Aucun commentaire:
Enregistrer un commentaire