F
Filament10mo ago
Jordy

Localise custom labels

(first time dealing with translations in an app) I am using the bezhan language switcher which works great for text from filament, validation etc Only issue I am facing is that custom labels do not translate unless the exact word/phrase is in the lang files and I end up having to manually add all phrases/words for each label.. I am sure there is a better way to go about this? e.g. this requires this exact label in all lang files otherwise it wont translate
DatePicker::make('desired_delivery_date')
->label(__('Desired delivery date'))
DatePicker::make('desired_delivery_date')
->label(__('Desired delivery date'))
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server