datatrans / android-sdk

Accept payments on your Android apps: Our mobile SDKs support your entire payment and registration process and simplify the integration of any payment method in your mobile apps.
Other
6 stars 0 forks source link

Swiss Francs wrong decimal separator #15

Closed joost-klitsie closed 11 months ago

joost-klitsie commented 1 year ago

For Swiss currencies, we expect them to be formatted like this:

'###.

However, if I select a Swiss German locale for my app, the currency is formatted as this:

.###,

I will attach a screen shot where in the top it is shown how we format it and how data trans is formatting it. Because of the thousand grouping, it looks to me like the Swiss country is not being taken into account in the formatting. Screenshot_20230901_150646

SDK version: 3.2.0

luiscosta commented 1 year ago

Hello @joost-klitsie,

We will look into it and fix it in the next release.

Thank you for raising the issue!

Best,

Luis

joost-klitsie commented 11 months ago

@luiscosta I see it is fixed in version 3.3.0 and it takes the locale of the app, thank you very much :) correct_formatting