Adobe Experience Manager 向け glot
エンタープライズ · ユニバーサルタグ
Adobe Experience Manager では、すべてのページに追加する 1 つのスクリプトタグで glot が動きます。訪問者のブラウザでページを翻訳し、言語メニューを追加します。
プラットフォーム側の手順は、Adobe Experience Manager の画面のメニュー名に合わせて英語で記載しています。
glot タグを追加する
- glot でプロジェクトを作成し、言語を追加します。
- glot Edge → サイト用タグを開き、サイトのアドレスを入力します。glot がサイトを翻訳してプレビューを表示します。タグを貼り付けたら、同じ画面でインストールを確認し、タグをオンにします。
- そのタブからタグをコピーします。プロジェクトと公開キー(data-key)はすでに入っています。下のタグはその形式の例です。
glot タグ
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>- Ask your AEM developer; this is a code change.
- AEM Sites with Core Components: in /apps/<your-project>/components/page/customheaderlibs.html, add the glot tag. Deploy to Author and Publish.
- Edge Delivery Services: add the tag to head.html (Adobe discourages this for performance) or load it from scripts after page load; the cache purges automatically when head.html changes.
- Publish and check a page.
必要なプラン
Requires code deployment access (Cloud Manager pipeline or repository). No author-level setting.
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 at your DNS provider for your own site domain.
glot Edge の仕組みよくある質問
- glot は Adobe Experience Manager のパートナーですか?
- いいえ。glot は独立しており、Adobe Experience Manager との提携や Adobe Experience Manager による推奨はありません。このガイドは Adobe Experience Manager の標準機能だけを使っています。
- glot は Adobe Experience Manager のコンテンツを変更しますか?
- いいえ。タグは訪問者のブラウザでページを翻訳するだけで、Adobe Experience Manager のコンテンツはそのままです。タグを外せば、サイトは元の言語に戻ります。
- 翻訳は検索エンジンにインデックスされますか?
- タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
- Adobe says not to add scripts to head.html. Is glot a problem?
- The tag is async, so it doesn't block rendering, but on Edge Delivery you can load it after page load to follow Adobe's guidance.
Adobe Experience Manager の公式ドキュメント
Adobe Experience Manager のサイトを翻訳する
プロジェクトを作成して言語を選び、上の手順に従ってください。
その他の連携:エンタープライズ
Adobe Experience Manager は各所有者の商標です。glot は Adobe Experience Manager と提携していません。