[SOLVED] Incorrect number formatting for Bulgarian
Posted: Sun May 17, 2015 6:58 pm
This is a problem that hasn't been resolved in many CMS platforms, and will require additional coding.
Here is a description:
In English, where the number is larger than 999, the 'thousand separator' ('thousand point') delimiter is introduced, so that in larger numbers, the digits will be separated in groups of three, e.g. 5,000 and 340,000.
In Bulgarian, however, the thousand separator (a space) is only used for numbers larger than 9999. Numbers between 1000 and 9999 are correctly spelt without a separator, and it is only used for numbers larger than that, e.g. 10 000, 25 500, 500 000.
This results in prices or other units being incorrectly displayed, e.g. the price of a product that costs one thousand two hundred and fifty BGN will be displayed as '1 250', instead of the correct '1250'.
Without being too sure about this, I think the same rule applies to Russian, and possibly to other Slavonic languages.
Here is a description:
In English, where the number is larger than 999, the 'thousand separator' ('thousand point') delimiter is introduced, so that in larger numbers, the digits will be separated in groups of three, e.g. 5,000 and 340,000.
In Bulgarian, however, the thousand separator (a space) is only used for numbers larger than 9999. Numbers between 1000 and 9999 are correctly spelt without a separator, and it is only used for numbers larger than that, e.g. 10 000, 25 500, 500 000.
This results in prices or other units being incorrectly displayed, e.g. the price of a product that costs one thousand two hundred and fifty BGN will be displayed as '1 250', instead of the correct '1250'.
Without being too sure about this, I think the same rule applies to Russian, and possibly to other Slavonic languages.