Translation proxy

ウェブサイト翻訳プロキシが実際に行っていること

翻訳プロキシは、訪問者とウェブサイトの間に位置します。実際のページを取得し、HTML内のテキストを翻訳して、翻訳されたページを返します。サイト自体が変更されることはなく、サイト内に何もインストールする必要もありません。

翻訳プロキシの仕組み

Four steps, in order, for every request that asks for a language other than your own.

  1. 01

    訪問者が翻訳されたURLをリクエストします

    Your domain points at the translation proxy instead of straight at your server. A request for /es/pricing arrives at the proxy, not at your origin.

  2. 02

    プロキシが実際のページを取得します

    The proxy strips the language prefix and requests /pricing from your own server, exactly as a browser would. Your site is unchanged and does not know the difference.

  3. 03

    テキストが抽出され、翻訳されます

    表示テキスト、リンクのタイトル、フォームのラベル、代替テキスト、メタタイトル、およびメタ説明文がHTMLから抽出され、ページ全体のコンテキストとともに翻訳されます。これにより、単語が周囲の文章の文脈に沿った形で翻訳されます。

  4. 04

    翻訳されたHTMLが返され、キャッシュされます

    プロキシは翻訳内容を同じHTMLに書き戻して返します。結果はエッジでキャッシュされるため、次にその言語で同じページをリクエストした訪問者には、翻訳処理なしで即座に提供されます。

プロキシの得意なことと、限界について

Every architecture trades something away. These are the trades a proxy makes, including ours.

強み

No code changes and no plugin

コードベースやコンテンツ管理システム(CMS)に何もインストールする必要はありません。これこそがプロキシが存在する理由です。エンジニアリングの時間が取れないチームや、誰も手を付けたくない技術スタックであっても、多言語サイトを公開することが可能です。

Search engines get real HTML

翻訳はページがブラウザに到達する前に行われるため、クローラーは、スクリプトが後から書き換えるような英語のページではなく、ターゲット言語で完全にレンダリングされたページを受け取ります。

Every language lives on your domain

Translated pages are served from your own domain under a path such as /es/ or /ja-jp/, so each language inherits the authority the domain has already earned.

New content needs no action

A page published this morning is translated the first time somebody requests it. There is no export, no re-import, and no build step to re-run.

制限事項

Your DNS has to point at the proxy

フルプロキシモードでは、ドメインが弊社に解決されます。これは実質的な依存関係となるため、弊社ではより軽量な2つのモードも提供しています。準備ができていない場合は、ハイブリッドモードを使用することで、DNSを変更することなく、クローラーにサーバーレンダリングされた翻訳を提供できます。

Text inside images is not translated by default

プロキシはHTMLを読み取りますが、JPEGに描画されたテキストはHTMLではありません。代替テキスト(Alt text)は自動的に翻訳されます。画像自体に埋め込まれたテキストは、個別に選択した画像のみが翻訳され、翻訳された画像はその言語用にキャッシュされます。

Content behind a login needs setting up

Pages a crawler can never reach still translate for the visitor who is signed in, but they cannot be pre-translated by crawling alone. Authenticated pages are discovered separately.

It is a subscription, not a one-off

プロキシは継続的に翻訳を行うため、課金も継続的に行われます。ただし、すでに支払い済みの文章に対して再請求を行うことはありません。翻訳された単語は、毎月再度計測されるのではなく、恒久的に保存されます。

メリットを得るためにDNSを移動する必要はありません

Most translation services give you one install mode and expect you to live with its trade-off. Proxylang ships three, and you can move between them without redoing the setup.

ModeAvailable onYour DNSSearch engines
Script tag

One line of JavaScript translates the page in the visitor’s browser. Fastest to install and the right choice when you want the language switcher working today. It is not a proxy, and it does not earn you search traffic on its own.

Every plan, including freeUnchangedSee your original language
Hybrid

Visitors are translated in the browser; search engine crawlers are served a translated page rendered on the server. You get the indexable pages a proxy gives you without moving your DNS. Crawler pages are translated within a per-page token budget.

Start plan and upUnchangedGet server-rendered translated HTML
Full reverse proxy

Every request for a translated URL is rendered on the server for everyone. This is the mode this page is about, and the one that behaves identically for a visitor, a crawler and an AI assistant.

Pro plan and upPoints at ProxylangGet the same page every visitor gets

翻訳プロキシに関するよくある質問

A website translation proxy is a server that sits between your visitors and your website. When somebody requests a translated URL, the proxy fetches the original page from your server, translates the text inside the HTML, and returns the translated page. Your site is never modified, and you do not install anything in it. The translated pages live on your own domain, usually under a language path such as /es/ or /ja-jp/.

ご自身のサイトで試してみる

The first 2,000 words are free and no card is needed. Start with the script tag, and move to hybrid or full proxy when you are ready.