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
Solution
@Vp thankyou!
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?
I figured out... I forgot to import the "Model" abstract class. That's why. Silly PHP error...
Yeah I was about to say Model lol