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
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

5 Replies
Solution
As simple as that!
Great!
muito obrigado, Leandro!
thanks that also solved a problem I was having! Do you know by any change how you change the names of the relationships? (translate it)?

thanks that worked!