lang.FormatNumber

I am working on a multi-language page, and there is a place for price display. I have two environments, en and ca. Under en, using lang.FormatNumber is very effective. For example, if my price is 8999, it will be displayed as 8,999. But under ca, the price will be formatted as 8.999, I would like to know the reason and how to modify it

ca is the language code for Catalan, with the most common locale being ca-ES (Catalan as spoken in Spain). In that locale, periods (.) are used as separators, and a comma (,) indicates the beginning of the fractional component.

{{ lang.FormatCurrency 0 "EUR" 8999 }} --> 8.999,00 €
{{ lang.FormatNumber 0 8999 }} --> 8.999
1 Like