This will pass the hardcoded $25,000
price point for Enterprise plans through formatCurrency to ensure the formatting is localized and displayed correctly across languages/locales.
Related to #74605
Testing Instructions
- Set your user currency to EUR (or any non-USD currency)
- Set locale to
fr-CA
from /me
for French Canadian (Espanol works too)
- Go to
/plans/[your-site-name]
If you’re within the US, you should see the following:
If you’re outside the US, you should see:
Note that the currencies are showing as right aligned, this is how formatCurrency aligns for fr-CA
and es
locales. Also note that when outside of the US you’ll see US$
right aligned, this is expected and correct.
You may also run into some weird fringe cases if you’re in Canada or Mexico where the currency is showing as $
, this is because you’re actually hitting our US servers, in those cases you may need to use a VPN to test this.
Unfortunately, no screenshots were provided by the developer.