Theme app extension select option translation is broken

Theme app extension select option translation is broken

ericfroese
Shopify Partner
5 0 11

I'm attempting to create a Theme App Extension "App Block" (https://shopify.dev/apps/online-store/theme-app-extensions/extensions-framework#app-blocks) and everything is working fine, except the translation of `option` labels which are nested inside of the App Block's `schema.settings[]` where `type = "select"`.

 

Translations are working properly elsewhere in the App Block template, just not inside of the `select` labels.

 

...
"settings": [
  {
    "type": "select",
    "id": "layout",
    "label": "t:foo.layoutLabel", <-- Translates properly
    "info": "t:foo.layoutInfo", <-- Translates properly
    "options": [
      {
        "value": "layoutOptionValue",
        "label": "t:foo.layoutOptionValue" <-- "missing translation: 't:foo.optionValue'"
      }
    ]
  }
]
...

 

Is this a known bug? Is there a workaround?

Replies 2 (2)

gomonke
Shopify Partner
5 0 0

Hi @ericfroese , could you solve?

Touchofthemind
Shopify Partner
3 1 0

Hi @ericfroese 

How did you solve it?