Open dakira opened 5 years ago
The export picks up on translated fields like this:
public function fields(Request $request) { return [ Text::make(__('Company'), 'company'), Text::make(__('Lastname'), 'lastname')->sortable() ->rules('required', 'max:255'), Text::make(__('Firstname'), 'firstname') ] }
They show up translated in the excel file, but only when they are on the index. For fields that are excluded from the index no translation is shown.
Hey @dakira can you show the code you have for the export action?
Prerequisites
Versions
Description
The export picks up on translated fields like this:
They show up translated in the excel file, but only when they are on the index. For fields that are excluded from the index no translation is shown.