You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please find below details of an issue that I've just found while trying to build a new discount app.
Issue summary
The language is not localized by AppProvider. AppProvider does not localize the language. No matter which language is specified, the display will always be in English. I have specified the following
By the way, this is the same issue that was described on issue #60
That old issue mentioned that the problem was presumably caused by the way the i18nManager was loading the locales, which was specifically for Webpack. However, it should be also compatible with Vite as this is the way latest Shopify CLI scaffolds a fresh new app.
I'm using latest code and followed official documentation (check steps below)
Expected behavior
When creating a new discount, texts should be localized and shown in specified supported locale, e.g., spanish.
Actual behavior
When creating a new discount, texts are not localized and always showing english (fallback)
Steps to reproduce the problem
Create an app using latest Shopify CLI (3.62.0) with Remix template, as explained here
Follow the tutorial here (Javascript selected as language):
Dear team,
Please find below details of an issue that I've just found while trying to build a new discount app.
Issue summary
The language is not localized by AppProvider. AppProvider does not localize the language. No matter which language is specified, the display will always be in English. I have specified the following
By the way, this is the same issue that was described on issue #60
That old issue mentioned that the problem was presumably caused by the way the i18nManager was loading the locales, which was specifically for Webpack. However, it should be also compatible with Vite as this is the way latest Shopify CLI scaffolds a fresh new app.
I'm using latest code and followed official documentation (check steps below)
Expected behavior
When creating a new discount, texts should be localized and shown in specified supported locale, e.g., spanish.
Actual behavior
When creating a new discount, texts are not localized and always showing english (fallback)
Steps to reproduce the problem
npm install && npm run dev
app/components/providers/DiscountProvider.jsx
as code below (anything different from english, such as "es-AR" or "es")Specifications
Thank you in advance!
The text was updated successfully, but these errors were encountered: