Skip to content
FAS Localize

How-to

How to Translate a Shopify Store with AI: The API Route

Dao HuyBy , Senior Project Manager4 min readFacts checked Oct 11, 2026
Online clothing shop owner checking orders beside a laptop, preparing to translate a Shopify store with AI
Photo by Kampus Production on Pexels

How to translate a Shopify store with AI: enable and publish a locale, read each string with its digest through the Admin GraphQL API, draft the text with an AI model, and score it with a quality-estimation model. Then write it back. Human linguists check the strings that score low.

What does Shopify need before an app can write translations?

Shopify needs three things in place: access scopes, an enabled locale and a published locale. Shopify's guide to managing translated content lists 3 scopes an app must hold: read_products, write_translations and write_locales.

Next comes the language itself. The shopLocaleEnable mutation adds a locale to the shop, and that new locale starts in the unpublished state. Publishing is a separate step.

There is also a ceiling. According to the shopLocaleUpdate reference, a shop can have up to 20 alternate published locales. The same page says publishing a locale makes it available for translation, so publish before you write.

How do you pull the text and digests to translate?

You read the source text through the translatable content of each resource, such as a product. Shopify's guide tells apps to request four fields: key, value, digest and locale. The guide states you need those values to write the translation later.

The digest is the part teams forget. Think of it as a fingerprint of the source text you translated. Store it next to the translation in your own queue, so a later sync can tell which strings changed.

You read the source text through the translatable content of each resource, such as a product. The same Shopify guide tells apps to request 4 fields: key, value, digest and locale, because the write step needs them.

The five steps, in order

  1. Enable the locale

    Call shopLocaleEnable for the target language. It arrives unpublished.

  2. Publish the locale

    Call shopLocaleUpdate to publish it, which makes it available for translation.

  3. Read translatable content

    Query the resources you want to translate and keep the key, value, digest and locale of every string.

  4. Draft and score

    Send each value to your model with glossary and tone notes, then score drafts with a reference-free QE model.

  5. Write back

    Call translationsRegister with the source digest for each string, and send low scores to a linguist first.

Where do AI drafting and QE scoring fit?

CallWhat it doesLimit or requirement
shopLocaleEnableAdds a language to the shopNew locale starts unpublished
Translatable content queryReturns key, value, digest, localeNeeds read_products scope
translationsRegisterCreates or updates translationsEach translation needs the source digest
shopLocaleUpdatePublishes the languageUp to 20 alternate published locales
The Shopify Admin API calls in this workflow (checked October 2026)

AI drafting fits between reading and writing, and QE scoring decides what happens to each draft. Quality estimation (QE) means scoring a translation without a human reference. Unbabel's open-source COMET framework supports this reference-free evaluation.

COMET also helps when you ask for several drafts per string. Its README describes a flag that prunes a candidate list to the top-K options according to a reference-free metric. That turns best-of-N drafting into a simple ranking job.

Set your own acceptance threshold by testing on a few hundred of your real strings. Scores mean different things for different language pairs, so a number copied from someone else's shop is a guess. Our post on reference-free vs reference-based QE explains the trade-off.

How do you write translations back to Shopify?

You write translations with the translationsRegister mutation, which creates or updates translations for a resource. Shopify's reference says each translation requires a digest value from the resource's translatable content.

After the write, spot-check a handful of product pages in each language before you announce it to customers.

When should a human linguist review the output?

A human linguist should review anything a wrong word could cost you money or trust. That means refund and shipping policies, product claims, sizing tables and any string below your QE threshold.

Placeholders deserve a check too. A template like "Only {count} left" breaks if the model translates or drops the variable.

If you want the pipeline without building it, FAS Localize can run it for your shop, with language quality assurance (LQA) scored against MQM on top. Every job starts with a fixed quote. Send us your shop URL and target languages through the AI pipeline page.

Frequently asked questions

Can I translate a Shopify store with AI without a third-party app?

Yes, if you can build a private app. The Admin GraphQL API lets an app enable locales, read translatable content and write translations, so any AI model can sit in the middle.

What happens when product copy changes after translation?

The translation needs a refresh. Shopify ties each translation to a digest of the source content, so store the digest you translated and compare it with the current one on every sync.

Can a high QE score replace human review?

Not for everything. A reference-free score is a good filter for routine strings, but legal pages, prices and brand copy still deserve a native reviewer before shoppers see them.

How many languages can one Shopify store publish?

Up to 20 alternate published locales, according to Shopify's shopLocaleUpdate reference. Plan which markets matter most before you enable new ones.

Sources

  1. shopLocaleEnable - GraphQL Admin, Shopify. Accessed Oct 11, 2026.
  2. shopLocaleUpdate - GraphQL Admin, Shopify. Accessed Oct 11, 2026.
  3. Manage translated content, Shopify. Accessed Oct 11, 2026.
  4. translationsRegister - GraphQL Admin, Shopify. Accessed Oct 11, 2026.
  5. Unbabel/COMET, Unbabel (GitHub). Accessed Oct 11, 2026.

Want localization to run on autopilot?

Talk to us about your pipeline

Dao Huy

Senior Project Manager · EN · ZH · FR to Vietnamese

Your point of contact from brief to delivery: he scopes the job, sets up the AI and native-review workflow, and keeps quality, deadlines and budget on track.