How to translate the relationship name in relation manager?

for example the relationship is blogPosts so the relation manager's table header automatically named as Blog Posts, but how do I make it translatable?
5 Replies
Dakaa
DakaaOP2y ago
@Vp thankyou!
Marco Santos
Marco Santos2y ago
Weirdly I'm having this error from PHP. I basically copied and pasted the method declaration from the RelationManager class which is also exactly the same declaration from the solution here. What's going on? Is this a bug with PHP? I'm using PHP 8.2, Laravel 10+ and Filament 3. Any thoughts?
No description
Marco Santos
Marco Santos2y ago
I figured out... I forgot to import the "Model" abstract class. That's why. Silly PHP error...
Dakaa
DakaaOP2y ago
Yeah I was about to say Model lol

Did you find this page helpful?