Translation for app extension liquid settings

Shopify Partner
17 1 2

I am writing an app extension and want to provide the ability to translate a liquid setting into various languages.


For example, my liquid block page has this:

<h2 class="inline-richtext h2">
{{ block.settings.heading }}

{% schema %}
  "settings": [
"type": "text",
"id": "heading",
"label": "Heading",
"default": "My App Heading"
{% endschema %}
This setting only allows it to be set for 1 language. If a store has both en and fr as languages, I want it to be able to display the appropriate version. How do we make it so that the settings are translatable? Normally, I would include a locales file, but for custom block section settings, how do we achieve that same functionality?
Replies 0 (0)