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

Money component and useMoney hook don’t respect app language format #2507

Open
tomtuv opened this issue Sep 9, 2024 · 0 comments
Open
Labels
Bug Something isn't working SEV-3

Comments

@tomtuv
Copy link

tomtuv commented Sep 9, 2024

What is the location of your example repository?

No response

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

2024.7.4

What version of Remix are you using?

2.11.2

Steps to Reproduce

  1. Create a new Hydrogen project using npm create @shopify/hydrogen@latest
  2. Add i18n options to the Hydrogen context such as { language: "FR", country: "FR" }
  3. Use the Money component or the useMoney hook and observe the formatted string

Expected Behavior

The formatted price should follow the app’s language format.

Actual Behavior

The formatted price always uses the English format.

@wizardlyhel wizardlyhel added SEV-3 Bug Something isn't working labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working SEV-3
Projects
None yet
Development

No branches or pull requests

2 participants