Dec 22, 2024
0
Level 2
Using Pluralizer::useLanguage('portuguese'), it changes the route view name
I have a Filament Resource called Company, it works perfectly.
But when I activate the Pluralizer on AppServiceProvider:
public function boot(): void { Pluralizer::useLanguage('portuguese'); }
and updated my Company Model with the table name as it was:
protected $table = 'companies';
I start to get errors from Laravel saying that the route view name is undefined:
Symfony\Component\Routing\Exception\RouteNotFoundException Route [filament.manager.resources.companys.view] not defined.
Its a bug or I need to do something else to get it to work?
Thanks for any help
Please or to participate in this conversation.