Install #1 Page Builder App for FREE and get deal 6 months of Standard Plan. Hurry up! See Detail  

Header background

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

Yome

Written by Yome

Last updated

23 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.

[Private Offer] EComposer Partner Plan

ecomposer.jpg
Exclusively for The4 users, when you bougth any theme from us, you can get Ecomposer - Theme Partner Plan for ZERO and start making beautiful, high-converting store pages today:

  • FREE 100% EComposer Standard plan for 6 months (save you $114)
  • Build ANY Shopify pages: Landing page, Sale Funnel page, Lead pages, & other custom pages tailored for your marketing campaigns.
  • Create advanced sections & add to your theme with ease
  • 100+ professtional, stunning designer-made templates
  • Build pages with a love drag-drop editor, no coding required

How to claim offer. Install EComposer HERE. Then open chatbox icon in EComposer dashboard and leave a message with subject "Theme name+EComposer" to upgrade for free

Ecomposer1.jpg
Cheers, The4.

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.