BenSampo / laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.
https://sampo.co.uk/blog/using-enums-in-laravel
MIT License
2k stars 164 forks source link

localization path #319

Closed e-rasekh closed 1 year ago

e-rasekh commented 1 year ago

my laravel localization, add translation files to \lang\en . your localization folder is: for messages.php => \lang\vendor\laravelEnum\en but for enum descriptions => resources\lang\en

is there any way to put all localization files in the unique path? recommended default laravel?

if I shouldn't post this question as issue, please tell me where should ask. thanks a lot

spawnia commented 1 year ago

Laravel changed their default. I changed the docs to recommend lang/ in the future.