Detects language preferences of the browser and formats numbers appropriately.