FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
120 stars 18 forks source link

Numbers & Automatic settings by user country and/or by user location Issue #742

Closed blondie63 closed 1 year ago

blondie63 commented 1 year ago

Has your issue been reported?

Current Behavior

From my tests done on iOS simulator, web and physical devices, the automatic system doesn't work correctly, it always takes English! see attached screenshots

FF-booking-currency-bug-settings FF-booking-currency-bug-simulator-rendered FF-booking-currency-bug-web-rendered FF-booking-currency-settings-user_country FF-booking-currency-settings-user_location

Expected Behavior

The documentation and editor help propose these automatic settings, so I expect them to work

Steps to Reproduce

  1. Create a page with a text widget and assign a numerical value like 20.00 with automatic settings for decimals and currency type
  2. set the app for Italian language
  3. run the app on a simulator set to Italy
  4. you get $20 instead of €20.00

Reproducible from Blank

Bug Report Code

IT4wlsmAsI1Nobhe+KqJb/pvoCMvIjo2aJ0rk8IbGSs9GYjyO5YUac/OaRNBTem/YWNHKEWLrGQ0+db8joThMfU6JT6VfrpCzagBVg3iIHy/aoSMELWWZHQnBZtRfmHC3J2N2CV/JfthdVo1217zDfKiQhLtQZ/7Zwh9f6PHaOI=

Context

I bypass the problem by setting manually but it would be convenient to have the automatic function declared

Visual documentation

see on first box

Additional Info

No response

Environment

- FlutterFlow version: 3.1 April 7
- Platform: Web /iOS
- Browser name and version: Chrome 112.0.5615.49
- Operating system and version affected: MacOS last
blondie63 commented 1 year ago

Anyone looking for this issue ??

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

blondie63 commented 1 year ago

FF team?

aemelyanovff commented 1 year ago

Thanks for reporting the issue, @blondie63.

Indeed there seems to be an issue with getting the default currency symbol. But I'm afraid we are not planning to address it in the foreseeable future because the effort to fix it is not worth the benefit IMO.

I would strongly advice setting the currency symbol explicitly - €20 that you want to show users in Italy should not suddenly become ¥20 for users in Japan, for instance, because €20 != ¥20.

blondie63 commented 1 year ago

the problem is not the currency symbol but decimal !! a value = 55 must be displayed to € 55,00