We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug It seems there is an issue with ThemeCheck not looking into the section-scoped defined locales.
locales
As official doc points out, it is possible to scope locales within the section schema see: https://shopify.dev/docs/themes/architecture/sections/section-schema#locales
Expected I expect the code below (which works just fine) not to generate a theme check error.
<span>{{ 'sections.example-section.back-to-top' | t }}</span> // ... {% schema %} { "name": "Example section", // ... "locales": { "fr": { "back-to-top": "Retour en haut" }, "en": { "back-to-top": "Back to top" } } } {% endschema %}
Actual
'sections.example-section.back-to-top' does not have a matching entry in 'locales/en.default.json'
Debugging information
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
It seems there is an issue with ThemeCheck not looking into the section-scoped defined
locales
.As official doc points out, it is possible to scope
locales
within the section schema see:https://shopify.dev/docs/themes/architecture/sections/section-schema#locales
Expected
I expect the code below (which works just fine) not to generate a theme check error.
Actual
Debugging information
The text was updated successfully, but these errors were encountered: