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

Use different locale for number and date formatting than current locale #2053

Open
3 tasks done
MickL opened this issue Dec 21, 2024 · 0 comments
Open
3 tasks done

Use different locale for number and date formatting than current locale #2053

MickL opened this issue Dec 21, 2024 · 0 comments
Labels
Status: Proposal Request for comments

Comments

@MickL
Copy link

MickL commented Dec 21, 2024

Clear and concise description of the problem

  • The common number format in the EU, at least for the countries I know, is 1.000,00 €
  • I have a website translated in German, French and Spanish as well as an English version for all other countries
  • For the English version I use the locale en
  • The format now is incorrectly €1,000.00 instead of 1.000,00 €

Suggested solution

The problem is that even when trying to format 'en' with Intl.NumberFormat to a European format it is not possible. So the only solution I could imagine is to be able to set a different locale for translations and for number formatting.

Alternative

No response

Additional context

No response

Validations

@MickL MickL added the Status: Proposal Request for comments label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Proposal Request for comments
Projects
None yet
Development

No branches or pull requests

1 participant