SectionAI is free + 20K tokens if you're a The4 customer, Free plan is available Install App  

Header background

How to translate the language json file into the desired language?

Yome

Written by Yome

Last updated

83 views

On this page


The rapid advancement of AI has revolutionized various industries, making tasks more efficient and automated. In this article, we’ll show you how to use AI to quickly and easily translate JSON language files into your desired language.

You can use any tool that suits you best, in this article, we’ll be using Gemini. Follow the steps below to get started:

  • Step 1: Go to Online store -> Themes -> Choose the theme you want to translate language json file

  • Step 2: Click on "..." icon beside the Theme and click Edit code

translate lang1.png
  • Step 3: Copy whole of en.default.json file content

translate lang2.png
  • Step 4: Paste the copied content into the AI tool and instruct it to translate it into your desired language.

translate lang3.png
  • Step 5: Copy the result to save it into a new json file

translate lang4.png
  • Step 6: Go to Theme customize -> Edit code -> locales -> Add a new locale

translate lang6.png
  • Step 7: Name your files using the appropriate language code. For example, the code for Spanish is "es".

translate lang 7.png
  • Step 8: Paste the result code into the new file and click Save to complete.

translate 8.png

Now you are done.

🎁 Exclusive Deals for The4 Customers

SectionAI

🤖 SectionAI – Build Sections with AI

Generate Shopify sections from text or wireframes.
The4 users get +20,000 bonus tokens when verifying their theme license.

  • ✅ No-code section builder
  • ✅ Works with your The4 theme
  • ✅ Build FAQs, banners, product grids & more
🚀 Try Free – Claim Tokens
EComposer

🎉 EComposer – Free 6-Month Plan

Build landing pages, sales funnels, and more with drag & drop.
The4 users get 6 months free (save $114).

  • ✅ 100+ templates ready to use
  • ✅ Build any Shopify page
  • ✅ No coding required
🔓 Get 6 Months Free

Enjoy a free 3-day trial. Then get your first month for $1. Try Now

We uses cookies to ensure you get the best experience on our website.