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

    提取文字並進行翻譯

    可見文字、連結標題、表單標籤、替代文字,以及 Meta 標題與描述都會從 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

您的程式碼或內容管理系統中無需安裝任何內容。這正是代理伺服器的存在意義:即使是沒有工程時間的團隊,或是不想更動現有技術棧的團隊,也能推出多語言網站。

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

完全代理模式意味著您的網域會解析到我們。這是一種真正的依賴關係,也是我們同時提供兩種較輕量模式的原因。若您尚未準備好,混合模式可在您的 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.