4

Does anyone know where I can get a list of valid currency formats by locale code? I've extracted formats from Intl (js object) and compared to those, which we can see in Windows Regional Settings and saw that they are different. For example, for "be-BY" we have "$ 123,123.35" in Intl, but on Windows it is "123 123,35 $". It seems, that format from Intl is the same as provided by CLDR.

So what is correct? And is there a complete and correct list of this anywhere?

This: Full list of currency / money formatting based on locale - does not help much.

1
  • 1
    You will find different parallel usage in many regions and probably some errors, but overall there is nothing better or more complete than the Unicode Common Locale Data Repository (CLDR), which is already mentioned in the question. Microsoft claims to rely on it, too.
    – Crissov
    Dec 4, 2015 at 13:44

1 Answer 1

1

As @Crissov mentioned, CLDR is your best bet. There may be inconsistencies, but there are revisions regularly and it's open source.

In the case of be-BY itself, it's hard for someone without knowledge of slavic langauges like myself to do effective searches, but based on a couple of search results including this supermarket, the x xxx $ format does seem to be preferred (I can't speak to decimals; Belarusian rubles no longer have decimal values, I believe). This doesn't seem to be universal though; this Volkswagen site for Belarus gives values in US dollars with $ coming first).

If you know Belarus is a specific market you need to take into consideration, consider reaching out to a firm that can localize your content -- not just your prices but content more generally.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.