Add language file in Shopify theme

Kurvi Kansagra

Last Update 4 months ago

We load different language locales at checkout for different methods. However, due to Shopify restricting the theme assets API in the new API version, we are unable to add any files automatically to themes using the API. Therefore, you will need to add the language file manually to your Shopify theme.


Eg. For the English language


  • Shipping method: default theme language
  • Pickup: en-AU language file
  • Delivery: en-CA language file

Inside GAF - Store Pickup & Delivery APP click Settings navigation

Download the language locale files

Now Go to Shopify > Online Store -> Themes -> Edit Code


Add Pickup locale file

Click on Add a new locale, Select your language file into "Duplicate file" (eg. For the English language select en.json or en.default.json) and File name as en-AU (make sure file name same as the downloaded file name from APP) and click on the Done button

Click Done!

Remove all auto generated code and paste the code from the downloaded "en-AU.json" file and Save.

Click Save!

Add Delivery locale file

Click on Add a new locale, Select your language file into "Duplicate file" (eg. For the English language select en.json or en.default.json) and File name as en-CA (make sure the file name same as the downloaded file name from APP) and click on the Done button

Click Done!

Remove all auto generated code and paste the code from the downloaded "en-AU.json" file and Save.

Click Save!

Do the same steps for all languages.

Do the above steps every time after you update the text in the checkout section in APP -> Positions and Text


Customers can see labels on the checkout page based on the selected method from the widget.

Still need help? Message Us