rmariuzzo / Laravel-JS-Localization

🌐 Convert your Laravel messages and consume them in the front-end!
https://github.com/rmariuzzo/laravel-js-localization
MIT License
596 stars 170 forks source link

Fix on lang folder location error for Laravel version >= 9 #188

Closed ALGAzevedo closed 11 months ago

ALGAzevedo commented 11 months ago

For laravel version >= 9 the lang folder changed to project root. This fix ends the error when trying to generate lang files.

ALGAzevedo commented 11 months ago

@rmariuzzo We need this fix to be able to generate the lang files. Can you verify and merge this?

rmariuzzo commented 11 months ago

Closes #186

etc-develop commented 10 months ago

this version check put the wrong line, I use laravel 10 but jump into >= 5..

ALGAzevedo commented 10 months ago

I corrected this and created a PR https://github.com/rmariuzzo/Laravel-JS-Localization/pull/190