conedevelopment / i18n

Push your Laravel translations to the front-end and use them easily with JavaScript.
https://pineco.de/using-laravels-localization-js/
MIT License
129 stars 21 forks source link

Checking for l9+ directory structure. #33

Closed gbradley closed 2 years ago

gbradley commented 2 years ago

This PR checks for the top-level lang folder on Laravel 9+, and if not present falls back to the resources/lang folder. Given the laravel/laravel dev dependency it doesn't seem possible to update the tests suite to test for both versions.