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