From 09f2527095c201663c750173f3b80e3cedf82baa Mon Sep 17 00:00:00 2001 From: Neftali Yagua Date: Sun, 28 Jan 2024 16:04:13 -0500 Subject: [PATCH] Fix Lang path --- src/SpanishServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SpanishServiceProvider.php b/src/SpanishServiceProvider.php index 91c3775..b4e7560 100644 --- a/src/SpanishServiceProvider.php +++ b/src/SpanishServiceProvider.php @@ -10,7 +10,7 @@ public function boot() { $this->loadJsonTranslationsFrom(__DIR__.'/../resources/lang'); $this->publishes([ - __DIR__.'/../resources/lang' => resource_path('lang'), + __DIR__.'/../resources/lang' => app()->basePath('lang'), ], 'spanish'); }