Support for comma as decimal separator for Spanish language setting

Hello,

I would like to suggest adding support for using a comma as the decimal separator when the language is set to Spanish. This is the standard convention in most Spanish-speaking countries, and implementing it would enhance the usability and accuracy of documents for Spanish-speaking users.

Thank you for considering this feature request!

1 Like

It’s tracked in this issue Locale-aware number formatting Β· Issue #1093 Β· typst/typst Β· GitHub

In English the norm is to format numbers like this β€œ13,001.62” (or β€œ13 001.62”) and we can note that this use of thousands separator is not implemented natively in Typst either - so to be fair, English, Spanish, Swedish (my language) etc are all missing support for their native number formatting. Packages like zero or unify implement detailed control of formatting.

1 Like