diff --git a/src/FilamentBuienradarWidgetServiceProvider.php b/src/FilamentBuienradarWidgetServiceProvider.php index 366b687..95ec304 100644 --- a/src/FilamentBuienradarWidgetServiceProvider.php +++ b/src/FilamentBuienradarWidgetServiceProvider.php @@ -52,6 +52,7 @@ public function configurePackage(Package $package): void if (file_exists($package->basePath('/../resources/lang'))) { $package->hasTranslations(); + $this->loadJsonTranslationsFrom($package->basePath('/../resources/lang')); } if (file_exists($package->basePath('/../resources/views'))) { @@ -150,4 +151,4 @@ protected function getMigrations(): array 'create_filament-buienradar-widget_table', ]; } -} +} \ No newline at end of file