lundi 27 mai 2019

Laravel 5.8 change default Language files folder path to AWS S3 bucket

In laravel fresh application, all of the language files are stored inside

Project_root/resources/lang/lang_code(en/fr)/message.php

And this @lang(message.php.field) or trans(message.php.field) helpers pointing to the above mentioned path(Project_root/resources/lang/lang_code(en/fr)/message.php)

So I need to change the path from

Project_root/resources/lang/lang_code(en/fr)/message.php to

Project_root/storage/lang/lang_code(en/fr)/message.php or Some other server like

AWS S3 bucket



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire