Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

patake's avatar
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

0 likes
0 replies

Please or to participate in this conversation.