Shopify 向け glot
EC · コネクタ
glot は Shopify に直接接続します。コンテンツを読み取り、用語集とチェックを使って翻訳し、Shopify の言語に書き戻します。
プラットフォーム側の手順は、Shopify の画面のメニュー名に合わせて英語で記載しています。
Shopify を接続する
- In glot, open your project → Integrations → Shopify, enter your store domain (my-store.myshopify.com) and click Connect. Approve the access in Shopify: you come back connected, with no token to copy.
- If the Connect button isn't offered on your glot server: create an app in the Shopify Dev Dashboard with the scopes read_translations, write_translations, read_locales, write_locales, read_products, read_content, read_online_store_pages, read_online_store_navigation, read_themes and read_metaobjects, install it on your store, then paste its Client ID and Client secret in the form. glot renews the 24-hour access tokens itself. A custom app created in the store admin before 2026 can still use its shpat_… token.
- glot reads your store and shows a preview: items per content type, languages, words to translate and the estimated cost. Nothing is translated or written yet.
- Choose Translate and publish, or Translate, I publish myself to review the changes first. Translations already edited by hand in Shopify are kept.
- A language missing from the store is added unpublished: publish it in Shopify under Settings → Languages when you're ready.
別の方法:ユニバーサルタグ
Shopify 連携で対応していない部分をブラウザで翻訳するには、ユニバーサルタグを追加します。
- glot でプロジェクトを作成し、言語を追加します。
- glot Edge → サイト用タグを開き、サイトのアドレスを入力します。glot がサイトを翻訳してプレビューを表示します。タグを貼り付けたら、同じ画面でインストールを確認し、タグをオンにします。
- そのタブからタグをコピーします。プロジェクトと公開キー(data-key)はすでに入っています。下のタグはその形式の例です。
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>- From your Shopify admin, go to Online Store.
- Optional but recommended: duplicate your theme first so you can roll back.
- Click the horizontal menu icon (three dots) next to your theme, then select Edit code.
- In the Layout folder, open theme.liquid.
- Paste the glot tag inside <head>, just before </head>.
- Click Save.
必要なプラン
Theme code editing is available on all plans, but only for a theme you own: a trial of a paid theme must be purchased before you can edit its code. The tag does not run on checkout, Thank you or Order status pages.
glot の各プランの内容は料金ページをご覧ください。glot Edge(翻訳済み URL)は Growth プランに含まれ、Pro では限定トライアルを利用できます。
検索エンジン向けの翻訳済み URL
JavaScript を実行せずに検索エンジンがインデックスできる翻訳ページにするには、2 つの DNS レコードで glot Edge をドメインのサブドメイン(es.example.com)に置きます。
es.example.com. CNAME edge.glotlang.com.
_glot.es.example.com. TXT "<token shown in the dashboard>"Add the CNAME and TXT at your domain registrar, or, if your domain is managed by Shopify, in Settings > Domains > (your domain) > DNS settings > Manage > Add custom record. Not possible on a myshopify.com address, and not shown if the domain uses custom nameservers (edit DNS where those nameservers are hosted).
glot Edge の仕組みよくある質問
- glot は Shopify のパートナーですか?
- いいえ。glot は独立しており、Shopify との提携や Shopify による推奨はありません。このガイドは Shopify の標準機能だけを使っています。
- glot は Shopify のコンテンツを変更しますか?
- 元のコンテンツはそのままです。glot は Shopify の言語フィールドに翻訳を書き込むので、公開前にそこで確認できます。
- 翻訳は検索エンジンにインデックスされますか?
- タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
- Will glot translate my Shopify checkout?
- No. Checkout steps, and since 2025 the Thank you and Order status pages, do not run theme code or custom scripts. Shopify translates checkout text itself based on the store languages.
- Can I add glot without editing theme.liquid?
- Yes, on Online Store 2.0 themes: glot's theme app extension (integrations/shopify-app in the glot repository) adds glot.js and a language switcher as an app embed. It isn't on the Shopify App Store; you install it as your own custom app with Shopify CLI, then turn it on in the theme editor under App embeds. See the glot docs, Shopify app embed.
- What happens if I switch themes?
- The tag lives in the theme's code, so you must add it again to theme.liquid of the new theme (app embeds also need to be re-enabled on a new theme).
Shopify の公式ドキュメント
Shopify のサイトを翻訳する
プロジェクトを作成して言語を選び、上の手順に従ってください。
その他の連携:EC
Shopify は各所有者の商標です。glot は Shopify と提携していません。