Locale-aware formatting via Intl. de-CH gives "CHF 1’234.50",
bs-BA gives "1.234,50 KM", en-US gives "$1,234.50".
locale must be a valid BCP 47 tag; it comes from your own config, not
from the network, so a bad one is a programming error, not a runtime one.
Locale-aware formatting via Intl. de-CH gives "CHF 1’234.50", bs-BA gives "1.234,50 KM", en-US gives "$1,234.50".
localemust be a valid BCP 47 tag; it comes from your own config, not from the network, so a bad one is a programming error, not a runtime one.