Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support decimalPatternDigits #111

Open
momrak opened this issue Jul 5, 2023 · 3 comments
Open

Support decimalPatternDigits #111

momrak opened this issue Jul 5, 2023 · 3 comments

Comments

@momrak
Copy link

momrak commented Jul 5, 2023

Currently there is support for decimalPattern, but with this you are not able to control the number og decimal digits.

Could support for decimalPatternDigits be added, or optional parameters controlling this sent to decimalPattern? Controlling this is possible for some of the other formats, so it seems a bit strange to me that this is not the case for a general number as well.

Or am I missing some obvious other format that I should use to do this instead?

image

https://localizely.com/flutter-arb/

@momrak
Copy link
Author

momrak commented Oct 26, 2023

Bump bump. No one that knows if this is possible or should be possible? Seems like an odd thing if this is not available

@lzoran
Copy link
Collaborator

lzoran commented Oct 26, 2023

Hi @momrak,

Thank you for bringing this to our attention!

You're right, the decimalPatternDigits format was introduced in intl 0.18.0. Unfortunately, the current intl_utils version doesn't support it yet. I assume that it might be added in one of the future releases, though I can't guarantee anything or provide a precise timeline. Your upvotes on this issue would give us a clearer understanding of its importance to the community and help us to better prioritize things.

@momrak
Copy link
Author

momrak commented Oct 26, 2023

I see. Thank you for the reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants