Locale files not applying, and unable to change store language

There are two stores for the same brand: one in the UK, and one in the US. For certain words, ‘translations’ are needs (e.g. ‘colour’ vs. ‘color’, ‘tyre’ vs. ‘tire’). I’m using a custom theme.

Originally I launched the UK site with one translation file, en.default.json, and it was all fine. But now the US are ready to launch, so I duplicated the locale file, renamed them both to en-GB.json and en-US.json respectively, and uploaded.

I sort-of expected this to simply work, but it absolutely did not. On the UK store, every translatable string displayed up as Translation missing.

I checked the site settings, and while the store location and markets are set as United Kingdom, the Settings -> Languages setting was simply English (default). I had the option to select British English or American English, so I selected British English, and it displayed the following:

:warning: Checkout and System> British English translations are not available for the cart, checkout, search, cookie banner, gift card, password, 404, or customer account> :check_mark: Theme> British English translations will be made to your current theme and themes in your theme library

When I hit Save… nothing happened. It didn’t change the language. Hit refresh, tried again. Nothing. Tried American English instead - same thing.

I don’t entirely understand the warning either: the cart, search, gift card, password, 404 and customer account bits are all within my custom theme, and they all have translations. The only bit I can’t touch is the checkout, which is fine.

If it’s an issue that Shopify doesn’t allow simply because it won’t translate the checkout then

a) Why does the documentation specifically state these naming conventions for translation files; and

**b)**Why does it give me the option to Save the language as British English, only for it to not save at all?

(Also: hopefully a temporary Shopify bug, but I changed the language to German just to test and that worked fine. Now I can’t even change it back the the default English - every time I try I get Server Error ?)

Did you ever get this resolved? I am running into the same problem with nl-BE and nl-NL. it just takes the default language instead of going for the culture variant.

I actually did solve it, but it’s been so long I don’t remember what I did. I think it might have had something to do with adding the Shopify Translate & Adapt plugin, which I didn’t have when I was trying to add the variants of English. Try adding that and see if it helps, but I definitely remember this part of the interface being buggy as heck.

1 Like

Thank you. Installing certainly did something, although not completely what I wanted. I’ll dig a little deeper into this, see what it can do. It now changed the .nl website also into the nl-BE culture, instead of making it nl-NL.