diff --git a/src/Events/LocaleChanged.php b/src/Events/LocaleChanged.php new file mode 100644 index 0000000..41034cd --- /dev/null +++ b/src/Events/LocaleChanged.php @@ -0,0 +1,21 @@ +dispatch('filament-language-changed'); + LocaleChanged::dispatch($locale); + $this->redirect(request()->header('Referer')); }