Can't find it in the docs. I want to display a status badge in table. The name is in english in my database, but i'd like to display the value in Dutch.
I'm not sure I can change this. Any suggestions?
Tables\Columns\TextColumn::make('status')
->label('Status')
->badge()
->color(fn(string $state): string => match ($state) {
'accepted' => 'gray',
'finished' => 'success',
'cancelled' => 'warning',
'failed' => 'danger',
})
->sortable(),
Tables\Columns\TextColumn::make('status')
->label('Status')
->badge()
->color(fn(string $state): string => match ($state) {