Skip to content

Conversation

@fredericbahr
Copy link
Contributor

@fredericbahr fredericbahr commented Jan 9, 2025

…al string

This explicitly tells the toLocaleString function which language to use based on the provided localization instead of relying on the browser language. This allows a correct formatting of numbers within a multi language app.

This is a Proof of Concept implementation of #1331.
If you are confirm with it, i am more than happy to apply the language property to all locales and add proper documentation.

Thanks in advance, i am really looking forward for this feature

@vercel
Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
material-react-table ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 12, 2025 4:30pm
material-react-table-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 12, 2025 4:30pm

…al string

This explicitly tells the `toLocaleString` function which language to use based on the provided localization instead of relying on the browser language. This allows a correct formatting of numbers within a multi language app.
@fredericbahr
Copy link
Contributor Author

@KevinVandy whats your opinion on this MR?

From my side it is complete and ready for your review 😄

@KevinVandy KevinVandy merged commit 2d8467d into KevinVandy:v3 Feb 14, 2025
3 of 4 checks passed
@fredericbahr fredericbahr deleted the language-flag-formatting branch February 15, 2025 07:46
jonathanl-dropit pushed a commit to dropit-dev/material-react-table that referenced this pull request Jun 22, 2025
…al string (KevinVandy#1359)

This explicitly tells the `toLocaleString` function which language to use based on the provided localization instead of relying on the browser language. This allows a correct formatting of numbers within a multi language app.
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

Successfully merging this pull request may close these issues.

2 participants