We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e570ee commit 2c6f890Copy full SHA for 2c6f890
src/Mariuzzo/LaravelJsLocalization/LaravelJsLocalizationServiceProvider.php
@@ -73,10 +73,9 @@ public function register()
73
$languagePath = $this->app['config']->get('localization-js')['lang_path'];
74
if (empty($languagePath)) {
75
if ($laravelMajorVersion === 4) {
76
- $languagePath = 'app/lang';
77
- $langs = $app['path.base'].'/app/lang';
+ $languagePath = '/app/lang';
78
} elseif ($laravelMajorVersion >= 5) {
79
- $languagePath = 'resources/lang';
+ $languagePath = '/resources/lang';
80
}
81
82
$langs = $app['path.base'].$languagePath;
0 commit comments