Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

What is happening with my translations?

What is happening with my translations?

tjapro
Shopify Partner
1 0 0

Hello everyone!

 

I've made a new liquid section with the correspondent shema translated json files.

But, as much I check and verify, I cannot understand the why of this errors:

Captura de ecrã de 2022-10-28 13-13-47.pngCaptura de ecrã de 2022-10-28 13-14-02.png

 

I know it is in the translation shema (and the schema seems correct), but where?

 

Section file:

{% schema %}
{
"name": "t:sections.featured-tabs.name",
"tag": "section",
"class": "spaced-section collection-list-section",
"max_blocks": 7,
"settings": [
{
"type": "color",
"id": "tab_link_background",
"label": "t:sections.featured_tabs.settings.tab_link_background.label",
"default": "#000000"
},
{
"type": "range",
"id": "products_to_show",
"min": 4,
"max": 12,
"step": 4,
"default": 4,
"label": "t:sections.featured-tabs.settings.products_to_show.label"
},
{
"type": "checkbox",
"id": "show_view_all",
"default": true,
"label": "t:sections.featured-tabs.settings.show_view_all.label"
},
{
"type": "checkbox",
"id": "swipe_on_mobile",
"default": false,
"label": "t:sections.featured-tabs.settings.swipe_on_mobile.label"
},
{
"type": "header",
"content": "t:sections.featured-tabs.settings.header.content"
},
{
"type": "select",
"id": "image_ratio",
"options": [
{
"value": "adapt",
"label": "t:sections.featured-tabs.settings.image_ratio.options__1.label"
},
{
"value": "portrait",
"label": "t:sections.featured-tabs.settings.image_ratio.options__2.label"
},
{
"value": "square",
"label": "t:sections.featured-tabs.settings.image_ratio.options__3.label"
}
],
"default": "adapt",
"label": "t:sections.featured-tabs.settings.image_ratio.label"
},
{
"type": "checkbox",
"id": "show_secondary_image",
"default": true,
"label": "t:sections.featured-tabs.settings.show_secondary_image.label"
},
{
"type": "checkbox",
"id": "add_image_padding",
"default": false,
"label": "t:sections.featured-tabs.settings.add_image_padding.label"
},
{
"type": "checkbox",
"id": "show_image_outline",
"default": false,
"label": "t:sections.featured-tabs.settings.show_image_outline.label"
},
{
"type": "checkbox",
"id": "show_vendor",
"default": false,
"label": "t:sections.featured-tabs.settings.show_vendor.label"
},
{
"type": "checkbox",
"id": "show_rating",
"default": true,
"label": "t:sections.featured-tabs.settings.show_rating.label",
"info": "t:sections.featured-tabs.settings.show_rating.info"
}
],
"blocks": [
{
"type": "featured_tab",
"name": "t:sections.featured_tabs.blocks.featured_tab.name",
"settings": [
{
"type": "text",
"id": "title",
"default": "Featured collection",
"label": "t:sections.featured-tabs.blocks.featured_tab.settings.title.label"
},
{
"type": "collection",
"id": "tab",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.tab.label"
},
{
"type": "select",
"id": "color_scheme",
"options": [
{
"value": "accent-1",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.color_scheme.options__1.label"
},
{
"value": "accent-2",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.color_scheme.options__2.label"
},
{
"value": "background-1",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.color_scheme.options__3.label"
},
{
"value": "background-2",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.color_scheme.options__4.label"
},
{
"value": "inverse",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.color_scheme.options__5.label"
}
],
"default": "background-1",
"label": "t:sections.featured_tabs.blocks.featured_tab.settings.color_scheme.label"
}
]
}
],
"presets": [
{
"name": "t:sections.featured-tabs.presets.name",
"blocks": [
{
"type": "featured_tab"
},
{
"type": "featured_tab"
},
{
"type": "featured_tab"
},
{
"type": "featured_tab"
}
]
}
]
}
{% endschema %}

Translation file:

 "featured-tabs": {
"name": "Featured Tabs",
"settings": {
"tab_link_background": {
"label": "Tab Link Background"
},
"products_to_show": {
"label": "Maximum products to show"
},
"show_view_all": {
"label": "Enable \"View all\" button if collection has more products than shown"
},
"swipe_on_mobile": {
"label": "Enable swipe on mobile"
},
"header": {
"content": "Product card"
},
"image_ratio": {
"label": "Image ratio",
"options__1": {
"label": "Adapt to image"
},
"options__2": {
"label": "Portrait"
},
"options__3": {
"label": "Square"
}
},
"show_secondary_image": {
"label": "Show second image on hover"
},
"add_image_padding": {
"label": "Add image padding"
},
"show_image_outline": {
"label": "Show image border"
},
"show_vendor": {
"label": "Show vendor"
},
"show_rating": {
"label": "Show product rating",
"info": "To display a rating, add a product rating app. [Learn more](https:\/\/help.shopify.com\/manual\/online-store\/themes\/os20\/themes-by-shopify\/dawn\/sections#featured-collection-show-product-rating)"
}
},
"blocks": {
"featured_tab": {
"name": "Featured Tab",
"settings": {
"title": {
"label": "Heading"
},
"tab": {
"label": "Collection"
},
"color_scheme": {
"options__1": {
"label": "Accent 1"
},
"options__2": {
"label": "Accent 2"
},
"options__3": {
"label": "Background 1"
},
"options__4": {
"label": "Background 2"
},
"options__5": {
"label": "Inverse"
},
"label": "Color scheme"
}
}
}
},
"presets": {
"name": "Featured Tabs",
"settings": {
"title": "Slideshow"
}
}
},

 

Replies 0 (0)