Closed bjorkgard closed 3 years ago
Good question! I try to find solution too.. I have tried to indicate - version of laravel-js-localization in composer.json ... "mariuzzo/laravel-js-localization": "", ...
and then got an error during the installation:
ErrorException
Undefined variable: langs
at vendor/mariuzzo/laravel-js-localization/src/Mariuzzo/LaravelJsLocalization/LaravelJsLocalizationServiceProvider.php:79 75▕ } elseif ($laravelMajorVersion === 5) { 76▕ $langs = $app['path.base'].'/resources/lang'; 77▕ } 78▕ $messages = $app['config']->get('localization-js.messages'); ➜ 79▕ $generator = new Generators\LangJsGenerator($files, $langs, $messages); 80▕ 81▕ return new Commands\LangJsCommand($generator); 82▕ }); 83▕
hello, is there an approximate date planned for the support update to laravel 8 ?, thanks
I'm gonna check that this week. Tomorrow, will invest a couple of mins to check that stack trace. Thank you all! Any extra help appreciated.
Is there something wrong with the pull request that was submitted for this?
https://github.com/rmariuzzo/Laravel-JS-Localization/pull/153
I see it passing, let's merge this!
Just code reviewed the PR and merged. Will create a new tag.
New tag/version created: https://github.com/rmariuzzo/Laravel-JS-Localization/releases/tag/v1.7.0 - Please test and let me know how it goes. Thanks for your efforts and patience.
@rmariuzzo I confirm it's working with Laravel 8, you can close this issue
I apologize for my long reply. I will take a look this week.
On Fri, Mar 5, 2021, 13:15 Mirko Tebaldi notifications@github.com wrote:
Version 1.,7.0 has still the wrong requirements in its composer.json ! Please update composer.json to allow ^8.0
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rmariuzzo/Laravel-JS-Localization/issues/151#issuecomment-791559122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLMH3PFV54FRTYUUYQTW3TCEGTXANCNFSM4REPJZDA .
It is possible to add support for Laravel 8?