本文へスキップ

HubSpot CMS 向け glot

CMS · コネクタ

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

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

HubSpot CMS を接続する

  1. In glot, open your project → Integrations → HubSpot CMS 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.
コネクタの詳しいドキュメント

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

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

  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. Click the settings icon in the top navigation bar.
  2. In the left sidebar, go to Content > Pages.
  3. In the domain dropdown, choose your domain, or the default settings that apply to all domains.
  4. If you picked a specific domain, click Override default settings in the Site Header HTML section.
  5. Paste the glot tag into the Site Header HTML field.
  6. Click Save.
サイト用タグのガイド

必要なプラン

HubSpot lists code snippets as available on all products and plans. You need the Website settings permission. Code set for a specific domain replaces the default header code for that 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>"

HubSpot does not sell domains or host DNS, so add the CNAME and TXT at your DNS provider. Your HubSpot site must be on a domain you connected (Settings > Content > Domains & URLs). Not possible on a HubSpot default hs-sites address.

glot Edge の仕組み

よくある質問

glot は HubSpot CMS のパートナーですか?
いいえ。glot は独立しており、HubSpot CMS との提携や HubSpot CMS による推奨はありません。このガイドは HubSpot CMS の標準機能だけを使っています。
glot は HubSpot CMS のコンテンツを変更しますか?
元のコンテンツはそのままです。glot は HubSpot CMS の言語フィールドに翻訳を書き込むので、公開前にそこで確認できます。
翻訳は検索エンジンにインデックスされますか?
タグだけではほとんどされません。ブラウザで翻訳するため、検索エンジンが主にインデックスするのは元の言語です。言語ごとの URL を持つ翻訳ページには、glot Edge か、言語ごとに URL を公開するプラットフォームが必要です。
I set the tag in default settings but it does not show on one domain. Why?
If a domain has its own Site Header HTML (Override default settings), it replaces the default code. Add the glot tag to that domain's field too.

HubSpot CMS の公式ドキュメント

HubSpot CMS のサイトを翻訳する

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

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