| 开发者 | langrelay |
|---|---|
| 更新时间 | 2026年12月4日 16:52 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
yoursite.com/nl/about-us, and you can give it an address in that language, like yoursite.com/nl/over-ons, in the LangRelay Dashboard.hreflang and x-default tags on every translated page and its originallang (and dir="rtl" for a right-to-left language)og:url, og:locale, an og:locale:alternate for each other language the page is live in, and twitter:url, naming the translated page's own address and languagelangrelay folder to /wp-content/plugins/.It makes your WordPress site multilingual. AI translates your pages, each translation goes live as you choose in the LangRelay Dashboard, and your site serves each one at its own address, with hreflang tags and a language switcher. You don't manage translated posts manually.
Two big things. First, you choose how translations go live: as soon as they are ready (the default), after a hold, or only once you approve them. Free checks hold a page with untranslated text, the wrong language or a changed price, legal pages, pricing pages and sweeping changes always wait for you, and your site serves exactly the translation LangRelay recorded as live. Second, a sentence that appears across your whole site is translated once and reused, not once per page.
Coming from a service like Weglot, or a manual translation plugin like WPML or Polylang? Two things change:
The LangRelay Dashboard currently offers Dutch, English, French, German, Italian, Korean, Portuguese, Spanish, and Turkish, both as the language your site is written in and as languages to translate into.
Yes. LangRelay is a cloud service. If you don't have an account yet, you can create one when you click Connect to LangRelay under Settings > LangRelay.
See langrelay.com/pricing for current plans and prices.
Not on a typical page view. Approved translations are cached on your site and applied as each page is served, in well under a millisecond on a typical page. About once a minute (the refresh interval), one page view also checks LangRelay for newly activated translations. That check is capped by the API timeout under Settings > LangRelay > Advanced; if LangRelay doesn't answer in time, the page is served with the translation already cached on your site, or in its original language if it has none yet. Pages also load one small script, deferred so it never holds up the page: every page while your Site counts page views, otherwise pages with the language switcher, translated pages and, while Visitor language is on, every page that has a translation.
Yes, automatically. On every page with an activated translation, LangRelay adds an hreflang tag for each language version plus an x-default tag pointing to the original. A translated page's canonical tag names its own address in that language, or, when your SEO plugin points the page at another page of your site, that page's address in the same language once it is live. No manual SEO work required.
Yes. When your site uses Yoast SEO, Rank Math, All in One SEO, SEOPress, The SEO Framework or XML Sitemap Generator for Google, its sitemap lists each page's address in every language the page is live in, right after the page itself, and names all of its language versions. A page the SEO plugin leaves out of its sitemap, such as one set to noindex, brings no translated address with it.
When your site uses WordPress's own sitemap, or no sitemap plugin, LangRelay serves a sitemap at /langrelay-sitemap.xml that lists each page with a live translation and its address in every language it is live in, naming all of its language versions. The robots.txt WordPress writes lists it, and so does WordPress's own sitemap when your site uses it. LangRelay does the same when the sitemap of one of those plugins is switched off, or the plugin is too old to list translated pages (Yoast SEO before 22.1, Rank Math before 1.0.216, All in One SEO before 4.9.0, SEOPress before 7.0, The SEO Framework before 5.0.6, XML Sitemap Generator for Google before 4.1.20).
A page is listed once its translation is live, never before. LangRelay's own sitemap lists nothing while your site asks search engines not to index it. If your site has a robots.txt file of its own, Settings → LangRelay shows the line to add to it. A sitemap made by any other plugin does not list your translated pages; LangRelay's own sitemap does, as above.
Product and shop pages are translated like any other page once their translation is live. Text that appears after the page loads, such as the mini-cart or an "added to cart" notice, is translated in the visitor's browser when the same text has an approved translation elsewhere on your site. Cart drawers built from your shop's cart, such as WooCommerce's Mini-Cart block and CartPops, show product names and options such as size and color in the visitor's language once that product's translated page has been opened. Parts of a page that change for every visitor, such as a checkout's form fields, can stay in the original language.
LangRelay translates the meta titles, meta descriptions, Open Graph and Twitter Card text in your pages' HTML, whichever plugin writes them — including Yoast SEO and Rank Math — once the page's translation is live. On a translated page, the canonical, og:url, og:locale and twitter:url they write name the translated page, and their sitemaps list your translated pages (see above).
Pick whichever suits your theme:
[langrelay_switcher] works anywhere shortcodes do. Add show_flags="false", show_name="false" or use_native_name="false" to change what each language shows.<div data-langrelay-switcher></div> into any HTML block or widget. It takes the same options as attributes, like data-show-flags="false".[langrelay_switcher style="text" layout="list" label="code"]. Menu items always take your theme's look.
Yes. Your Site's Visitor language setting, under Settings → WordPress in the LangRelay Dashboard, decides what a visitor who reads another of your languages sees when they arrive:
localStorage["langrelay:language"]: the language the visitor chose, with the date, written only when they click a choice in the suggestion, the notice after a redirect or the language switcher. Deleted after one year.sessionStorage["langrelay:redirected"]: the language of the page an automatic redirect left, written just before the redirect and deleted by the next page as it opens.Yes, by default: a small "Powered by LangRelay" line in the language switcher's menu and at the bottom of the language suggestion, linking to langrelay.com. On a paid plan you can turn it off, and on again, in the LangRelay Dashboard under your Site's Appearance settings. On the Free plan it stays on.
Your site keeps serving the translations it has cached. A page it has no translation for is served in its original language. Nothing breaks.
GEO stands for Generative Engine Optimization. It's the practice of making your site visible and citable by AI-powered search engines like ChatGPT, Perplexity, and Google AI Overviews. LangRelay helps by serving each translation as a real page at its own address, with hreflang tags, so AI search engines can find and cite it in each language.
/#about or /?utm_source=ad#pricing and picks another language lands on the same section of the translated page, with the same campaign parameters, instead of at the top./langrelay-sitemap.xml, listed in your robots.txt and in WordPress's own sitemap. Settings → LangRelay shows which sitemap your site uses.<div data-langrelay-switcher></div> pasted into an HTML block or widget now shows the switcher too./es/about-us/), within about a minute of activation.llms.txt files, email translation, the browser-language redirect, the dropdown switcher, the "Excluded selectors" setting and the cache-purge webhook./de/checkout) now correctly associate with the source-language page, so coverage tracking in the dashboard is accurate.X-LangRelay-Crawler request header is present, so the LangRelay crawler always receives the source-language page instead of being redirected to a language-prefixed URL. Also adds langrelay to the bot user-agent bypass list as a fallback./wp-admin, /wp-login.php, or /wp-json paths. With force-fallback enabled, logged-out users were being redirected from /wp-admin to /<lang>/404/.