Translate RelationManager Title

Hello there

I can't transalte the title of a RelationManager
in "CategoriesRelationManager" I tried :

  1. public static function getPluralModelLabel(): string { return __('fields.categories'); }
  2. public static ?string $pluralModelLabel = "Categorias";
  3. $table->recordTitle(fn (): string => "Categorias")
  4. $table->recordTitle(fn (): string => __('fields.categories'))
But " public static function getModelLabel(): string { return __('fields.category'); } " is working correctly.

thanks for your help
ksnip_20231109-102602.png
Solution
return $table
    ->heading('Categorias')
...
Was this page helpful?