FilamentF
Filament10mo ago

Localization not working for MenuItem in the PanelProvider

Hello, I noticed that the localization for the label of a MenuItem does not work when the language is changed, it remains on the default translation.

Here's my
->userMenuItems([
    'menu_item' => MenuItem::make()
        ->url(function () {
            return 'https://www.google.com';
        })
        ->label(__('working.localization-path'))
        ->icon('heroicon-s-calendar'),
])
Was this page helpful?