In this article, you will learn how to fix the issue “Failed to update a locale file at Shopify.”
The reason for this error happening is that PageFly can’t create locale files inside the locales folder of the Shopify theme.
Step 1: Access to your Shopify Theme
After logging into your Shopify store, go to Online Store > Themes > Actions > Edit code as shown the image below.
Step 2: Adding code
In the Themes section, scroll down to see the Locales part and choose the option.
After choosing this option, then you scroll down to the last line of this file, you can see the current situation as the image below.
Now, to fix this error, you need to add a code part. The code part needs to be put after the }
Here is the code part needed: