F
Filament14mo ago
Dakaa

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
DakaaOP14mo ago
@Vp thankyou!
Marco Santos
Marco Santos14mo 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 Santos14mo ago
I figured out... I forgot to import the "Model" abstract class. That's why. Silly PHP error...
Dakaa
DakaaOP14mo ago
Yeah I was about to say Model lol
Want results from more Discord servers?
Add your server