How can I add a label to the table?

I would like to have the tables in my database with English names for best practices, but I don't know how to edit that part.
No description
5 Replies
DrByte
DrByte14mo ago
On many pages you can customize the heading, subheading, title, slug, etc: https://filamentphp.com/docs/3.x/panels/pages#customizing-the-page-title
DrByte
DrByte14mo ago
You can optionally declare the corresponding function if you need to offer translation. eg: getTitle(), getHeading(), etc to return the __(foo) translated string
Kaan
Kaan14mo ago
I'm using this:
public static ?string $label = 'Your Title';
public static ?string $label = 'Your Title';
DrByte
DrByte14mo ago
On the class that you're extending, is there a getLabel() method? You can return the __(foo) value from that function by overriding that function in your class.
Yurikaso
YurikasoOP14mo ago
thanks it was resolved
No description
Want results from more Discord servers?
Add your server