本文へスキップ

Wix 向け glot

サイトビルダー · ユニバーサルタグ

Wix では、すべてのページに追加する 1 つのスクリプトタグで glot が動きます。訪問者のブラウザでページを翻訳し、言語メニューを追加します。

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

glot タグを追加する

  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. Go to Settings in your site's dashboard.
  2. Under Development & integrations, click Custom Code.
  3. Click + Add Custom Code at the top right.
  4. Paste the glot tag in the text box and give it a name.
  5. Under Add Code to Pages, select All pages and choose Load code on each new page.
  6. Under Place Code in, select Head.
  7. Click Apply, then check the live site.
サイト用タグのガイド

必要なプラン

The site has to be published and have a connected domain, and connecting a domain requires a Premium plan. Snippets are tied to the domain and get deleted if you assign a different domain.

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 records at your domain registrar. If the domain was bought from Wix or uses Wix nameservers, use Domains → Domain Actions → Manage DNS records → + Add Record instead. This is not possible on a wixsite.com address.

glot Edge の仕組み

よくある質問

glot は Wix のパートナーですか?
いいえ。glot は独立しており、Wix との提携や Wix による推奨はありません。このガイドは Wix の標準機能だけを使っています。
glot は Wix のコンテンツを変更しますか?
いいえ。タグは訪問者のブラウザでページを翻訳するだけで、Wix のコンテンツはそのままです。タグを外せば、サイトは元の言語に戻ります。
翻訳は検索エンジンにインデックスされますか?
タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
Why is Custom Code missing or greyed out?
Wix only allows custom code on a published site with a connected domain, and connecting a domain requires a Premium plan.
My DNS records are not in Wix. Where do I add them?
If the domain is connected to Wix by pointing, or uses custom nameservers, Wix says to manage DNS records with your DNS provider or domain host.

Wix の公式ドキュメント

Wix のサイトを翻訳する

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

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