Skip to content

Missing completions for section locales #720

Open
@david-w-shopify

Description

@david-w-shopify

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingSEV-3Normal Severity

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions