diff --git a/src/NafezlyPaymentsServiceProvider.php b/src/NafezlyPaymentsServiceProvider.php index fff7ec7..4c03603 100644 --- a/src/NafezlyPaymentsServiceProvider.php +++ b/src/NafezlyPaymentsServiceProvider.php @@ -37,7 +37,7 @@ public function boot() __DIR__ . '/../config/nafezly-payments.php' => config_path('nafezly-payments.php'), ]); $this->publishes([ - __DIR__ . '/../resources/lang' => app()->getLocale('vendor/payments'), + __DIR__ . '/../resources/lang' => resource_path('lang/vendor/payments'), ]); } @@ -105,7 +105,7 @@ protected function registerPublishing() __DIR__ . '/../config/nafezly-payments.php' => config_path('nafezly-payments.php'), ], 'nafezly-payments-config'); $this->publishes([ - __DIR__ . '/../resources/lang' => app()->getLocale('vendor/payments'), + __DIR__ . '/../resources/lang' => resource_path('lang/vendor/payments'), ], 'nafezly-payments-lang'); $this->publishes([ __DIR__ . '/../resources/views' => resource_path('views/vendor/payments'),