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
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
Hi @mgmanzella, yes, it certainly is. Apologies if I reported in the wrong place, I did check this repo for open tickets, but not the other one. I'm not entirely familiar with how the various Shopify repos are linked / where the boundaries are.
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
It should be possible to use pluralisation with html keys without a
ValidJSON
error getting triggered.Actual behavior
A
ValidJSON
error is triggered.Verbose output
info ─────────────────────────────────────────────────────────────────────────
locales/en.default.json
Incorrect type. Expected "string".
208 "count_html": {
209 "one": "There is <span class="count">{{ count }} item",
210 "other": "There are <span class="count">{{ count }} items"
211 }
Reproduction steps
shopify theme check
The file is reported as invalid, however if you preview the theme the pluralisation clearly works.
Operating System
Mac OS Sonoma
Shopify CLI version (check your project's
package.json
if you're not sure)3.68.0
Shell
zsh
Node version (run
node -v
if you're not sure)No response
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: