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.
5 Replies
On many pages you can customize the heading, subheading, title, slug, etc: https://filamentphp.com/docs/3.x/panels/pages#customizing-the-page-title
You can optionally declare the corresponding function if you need to offer translation. eg: getTitle(), getHeading(), etc to return the
__(foo)
translated stringI'm using this:
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.
thanks it was resolved