Translate & Adapt copy changes are not displayed

Translate & Adapt copy changes are not displayed

BramK
Tourist
5 0 2

I'm building a website for a client using the Shopify Storefront Api, it seems to work well with the Translate & Adapt app, so far so good.

 

However, the first product we tried, we made a little copy error in the translation. When adjusting it, the api would not send the updated copy to the front-end. Weirdly enough, for another product where we changed the translated description, it does seem to update. It's not cache on my end, it has something to do with the Translate & Adapt app.

 

For testing now; I'm using postman and see the old translated product description still coming through as a response, even though I've completely emptied that description in Shopify Translate & Adapt app.

Reply 1 (1)

DaisyVo
Shopify Partner
4385 486 579

Hi @BramK 

I see what’s happening here. You’re working with Shopify’s Storefront API alongside the Translate & Adapt app, and you’re running into an issue where product translations aren’t consistently updating on the front end. It’s odd that one product updates fine, but another one still shows the old translation even after clearing it out.

Why is this happening?

This sounds like a sync or indexing issue between the Translate & Adapt app and Shopify’s API. Even if you’ve updated the translation in the app, Shopify might still be holding onto cached or stale data in its API responses.

How to Fix It

Here’s what I recommend trying:

1-Force a Translation Sync

  • Go to Settings > Languages in Shopify Admin.
  • Disable the language that is causing the issue.
  • Re-enable it and save changes.
  • This forces Shopify to resync translations.

Manually Trigger an API Update
Since you’re using the Storefront API, try making a POST request to the Admin API to force an update to the translated content. Example using Postman:

POST https://{your-store}.myshopify.com/admin/api/2024-01/translations.json

Headers: 

- X-Shopify-Access-Token: {your-access-token}

- Content-Type: application/json

 

Body:

{

  "translation": {

    "locale": "fr",

    "key": "product.description.{product_id}",

    "value": "Your updated translated description"

  }

}

2-If you get a 200 OK response, Shopify has received the update and should process it.

3-Check the API Response Headers

  • When fetching the translated content with the Storefront API, check the response headers.
  • If you see a x-cache: hit, it means Shopify is serving a cached version.
  • In this case, try adding cache: no-store in your GraphQL query headers.

4-Wait for Shopify’s Background Sync

  • Sometimes, Shopify takes a while to fully propagate translation changes.
  • Try waiting 10–15 minutes and then recheck your API response.

5-Clear Shopify’s Cache (if applicable)

  • While Shopify doesn’t provide direct cache control for translations, you can try making a dummy update to the product (e.g., add a space to the title and save).
  • This sometimes forces a refresh.

Next Steps

  • If none of these work, check Shopify’s Changelog for any API translation-related bugs.
  • If you still see outdated data after multiple sync attempts, contact Shopify support—it could be a backend issue with the Translate & Adapt app.

Let me know if you need more details or if you run into any roadblocks.
Best regards,
Daisy.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution