F
Filament9mo 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
Tally9mo 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
WiebeOP9mo ago
thanks found it. had to install the dutch lang on the server.
Tally
Tally9mo ago
🙂

Did you find this page helpful?