We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Having Translation Errors with New Sections

Having Translation Errors with New Sections

Chaos-Devin
Shopify Partner
1 0 0

So I'm new to liquid development and am trying to do just some basic things (like make my own sections).

I wrote the following code from a tutoriall in VS Code.

<h1>Hello World</h1>

{% schema %}
{
    "name": "Custom Section",
    "settings": [],
    "presets": [{"name": "Default Custom Section"}]    
}
{% endschema %}

and then I Pushed my Theme to Github and went to my theme customizer where I got this

ChaosDevin_1-1750431389122.png

I tried to follow suggestions online and made these changes to my en.default.json file

 

ChaosDevin_0-1750431228023.png

I then pushed it to github refreshed the page waited a day reopened the site and the translation problem persists

What am I missing here?

 

Reply 1 (1)

Shadab_dev
Shopify Partner
1583 83 173

Nothing seems wrong with your code in vs code, it's the very basic.

 

May be the json is wrong, copy the json code and paste in an online tool jsonlint.com to check where the issue is.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.