Closed aymanalhattami closed 1 year ago
Make sure you have imported the class BezhanSalleh\FilamentLanguageSwitch\FilamentLanguageSwitchPlugin;
and if multiple panels it will only show for which you have registered it. Clear your view cache and if you have published filament views republish them.
It worked with me when I changed the hook to panels::user-menu.before
->plugins([
FilamentLanguageSwitchPlugin::make()->renderHookName('panels::user-menu.before'),
])
In AdminPanelProvider
and nothing appear in the admin panel