medusa-ui/medusa

Localization for validation

Opened this issue · 1 comments

Specifically, review the double decimal notation.

Example usecase:
When logging in from locale BE_NL, it would be appropriate to have a , decimal. We know the incoming locale, as it is set on the session. We should use it to determine what seems appropriate: 0.53 or 0,53. In Locale BE_NL that would be 0,53. It should then replace the , with a . so internally it keeps working with 0.53 (as most libraries seem to expect)

Did a quick fix to be able to build medussa-ui on a machine with locale BE_nl