F
Filament7mo ago
Wiebe

money format wrong on prod server

I'm showing a price this way:
TextEntry::make('price')->label('Kosten')->money('EUR', locale: 'nl'),
TextEntry::make('price')->label('Kosten')->money('EUR', locale: 'nl'),
locally it returns € 10,95 but on production €10.95 How can i fix this?
3 Replies
Tally
Tally7mo ago
Hi Wiebe... can you check using nl_NL as locale. It's possible the nl locale is not defined in your production environment.
Wiebe
WiebeOP7mo ago
thanks found it. had to install the dutch lang on the server.
Tally
Tally7mo ago
🙂
Want results from more Discord servers?
Add your server