theme-tools icon indicating copy to clipboard operation
theme-tools copied to clipboard

Missing completions for section locales

Open david-w-shopify opened this issue 11 months ago • 0 comments

Describe the bug When using the locales object in a section schema, those locales aren't surfaced as completion suggestions

Image

Source

// section/test-section.liquid

{{ 'sections.test-' }}

{% schema %}
{
  "name": "Section",
  "locales": {
    "en": {
      "title": "Title"
    }
  }
}
{% endschema %}

Expected behaviour Whilst typing 'sections.test-' in the tag at the top, 'sections.test-section.title' | t' should be suggested, like with locales defined in locales/*.json

Actual behaviour Nothing is suggested

Debugging information

  • OS: Mac
  • OS Version: Sequoia 15.2
  • Theme Check Version: 3.73.2

david-w-shopify avatar Jan 20 '25 10:01 david-w-shopify