本文へスキップ

Framer 向け glot

サイトビルダー · プラグイン

glot は Framer にプラグインとしてインストールします。設定方法は下の手順のとおりです。

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

glot プラグインをインストールする

  1. In Framer, add your languages in the Localization panel.
  2. In glot, create an API token (Settings → API tokens) and note your project slug.
  3. Open the glot plugin in Framer (from integrations/framer-plugin in the glot repository: Plugins → Development → Open Development Plugin), then enter the token and the project slug.
  4. Click Sync with glot. Machine translations are flagged Needs review in Framer; translations reviewed in glot are marked done.
  5. To sync without the editor open, run the plugin's Server API script on a schedule with a Framer API key (Site settings → API Keys).
コネクタの詳しいドキュメント

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

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

  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. Open Site Settings (Project Settings) and select the Custom Code tab.
  2. Click Add Script, or + if a script already exists.
  3. Give it a name and paste the glot tag.
  4. Choose the head placement (start or end of <head>) and keep it on all pages.
  5. Set it to run on every page visit.
  6. Publish the site. Custom code does not run on the canvas or in preview.
サイト用タグのガイド

必要なプラン

Access to custom code requires a paid Framer plan. Custom domains also require a paid plan.

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. For a domain claimed through Framer's Hover offer, add them in Hover. This needs a paid plan with a custom domain, and is not possible on a framer.app/framer.website address.

glot Edge の仕組み

よくある質問

glot は Framer のパートナーですか?
いいえ。glot は独立しており、Framer との提携や Framer による推奨はありません。このガイドは Framer の標準機能だけを使っています。
glot は Framer のコンテンツを変更しますか?
元のコンテンツはそのままです。プラグインはブラウザでページを翻訳し、接続すると、公開前に確認できる言語フィールドに翻訳を書き込みます。
翻訳は検索エンジンにインデックスされますか?
タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
Does it work on the Free plan?
No. Framer says custom code requires a paid plan.
Why don't I see the language menu in the editor?
Framer runs custom code only on the published site. Open the live URL to check.

Framer の公式ドキュメント

Framer のサイトを翻訳する

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

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