We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ab372d commit 9b63200Copy full SHA for 9b63200
src/LaravelJsLocalizationServiceProvider.php
@@ -59,7 +59,7 @@ protected function registerLangJsGenerator(): void {
59
$app = $this->app;
60
61
$files = $app['files'];
62
- $langs = $app['path.base'] . '/lang';
+ $langs = $app->langPath();
63
64
$messages = $app['config']->get('localization-js.messages');
65
return new LangJsGenerator($files, $langs, $messages);
0 commit comments