I need to keep my translations in a database. I have created a model with group, key and value and filled the database with all the values i currently have in my lang files. Now i wish to make the switch so if trans('group.key') or @lang('group.key') is called from my code i want it to get the value from database, not the lang file. How is it possible to achieve this?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2BbPKLv
via IFTTT
Aucun commentaire:
Enregistrer un commentaire