Can’t create locales file

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 ThemeClick to copy

After logging into your Shopify store, go to Online Store > Themes > Actions > Edit code as shown the image below.

The way to go to Shopify Theme

Step 2: Adding codeClick to copy

In the Themes section, scroll down to see the Locales part and choose the option.

Shopify locales file

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:

Thank you for your feedback!

Navigate this category

Could not find the answer to your question?

No worries, contact Our LiveChat Support 24/7

Contact PageFly LiveChat
PageFly Languagues

PageFly Help Center is now available in French, Portuguese and Chinese. Please check the flags on the page header.

I got it!