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

LaravelJsLocalizationServiceProvider.php : Fix logical error #195

Closed mahdirezaei-dev closed 2 days ago

mahdirezaei-dev commented 6 months ago

When the Laravel version is 9 or higher. The second condition will be true and the third does not run at all. The order of the conditions had to be changed.

danielmcguinness commented 6 months ago

@rmariuzzo Could you please merge this branch, so we don't have to specify the source each time?

chrispappas commented 1 month ago

I am also waiting on this functionality to be merged ASAP. Using my own fork for now, until this gets merged and released.