本文へスキップ

Magento / Adobe Commerce 向け glot

EC · コネクタ

glot は Magento / Adobe Commerce に直接接続します。コンテンツを読み取り、用語集とチェックを使って翻訳し、Magento / Adobe Commerce の言語に書き戻します。

プラットフォーム側の手順は、Magento / Adobe Commerce の画面のメニュー名に合わせて英語で記載しています。

Magento / Adobe Commerce を接続する

  1. In glot, open your project → Integrations → Magento and fill in the connection form (the credentials and permissions it asks for are listed in the docs).
  2. Click Test connection, then Sync now: glot pulls your content, translates it with your glossary and validation rules, and writes each language back.
  3. Later changes sync automatically through the webhook URL shown on the card, or on the next scheduled sync.
コネクタの詳しいドキュメント

別の方法:ユニバーサルタグ

Magento / Adobe Commerce 連携で対応していない部分をブラウザで翻訳するには、ユニバーサルタグを追加します。

  1. glot でプロジェクトを作成し、言語を追加します。
  2. glot Edge → サイト用タグを開き、サイトのアドレスを入力します。glot がサイトを翻訳してプレビューを表示します。タグを貼り付けたら、同じ画面でインストールを確認し、タグをオンにします。
  3. そのタブからタグをコピーします。プロジェクトと公開キー(data-key)はすでに入っています。下のタグはその形式の例です。
glot タグ
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>
  1. On the Admin sidebar, go to Content > Design > Configuration.
  2. Find the store view and click Edit in the Action column.
  3. Under Other Settings, expand HTML Head.
  4. Paste the glot tag in the Scripts and Style Sheets field.
  5. Click Save Configuration, then refresh caches if Magento asks you to.
サイト用タグのガイド

必要なプラン

Available in Magento Open Source and Adobe Commerce (on-premises and cloud). Headless/Edge Delivery storefronts do not use this field.

glot の各プランの内容は料金ページをご覧ください。glot Edge(翻訳済み URL)は Growth プランに含まれ、Pro では限定トライアルを利用できます。

検索エンジン向けの翻訳済み URL

JavaScript を実行せずに検索エンジンがインデックスできる翻訳ページにするには、2 つの DNS レコードで glot Edge をドメインのサブドメイン(es.example.com)に置きます。

DNS レコード(TXT トークンは glot Edge → セットアップに表示されます)
es.example.com.        CNAME  edge.glotlang.com.
_glot.es.example.com.  TXT    "<token shown in the dashboard>"

Add the CNAME and TXT wherever your domain's DNS is hosted (registrar, DNS provider or your Adobe Commerce Cloud DNS setup).

glot Edge の仕組み

よくある質問

glot は Magento / Adobe Commerce のパートナーですか?
いいえ。glot は独立しており、Magento / Adobe Commerce との提携や Magento / Adobe Commerce による推奨はありません。このガイドは Magento / Adobe Commerce の標準機能だけを使っています。
glot は Magento / Adobe Commerce のコンテンツを変更しますか?
元のコンテンツはそのままです。glot は Magento / Adobe Commerce の言語フィールドに翻訳を書き込むので、公開前にそこで確認できます。
翻訳は検索エンジンにインデックスされますか?
タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
Does the tag run on checkout?
Only if you allow its domain in your Content Security Policy: scripts in this field are not whitelisted automatically and won't run on Checkout pages in restricted CSP mode.
I have several store views. Where do I add it?
The setting is per scope: edit each store view (or the website/global row) that should load glot.

Magento / Adobe Commerce の公式ドキュメント

Magento / Adobe Commerce のサイトを翻訳する

プロジェクトを作成して言語を選び、上の手順に従ってください。

Magento / Adobe Commerce は各所有者の商標です。glot は Magento / Adobe Commerce と提携していません。