
內容簡介
Translera 是一款輕量級的 WordPress 自動翻譯外掛,旨在為多語言網站提供乾淨的語言網址、Google 翻譯支援及靈活的語言切換器。無論是部落格、商業網站、登陸頁面或 WooCommerce 商店,Translera 都能輕鬆添加多語言體驗。
【主要功能】
• Google 翻譯整合,無需 API 金鑰
• SEO 友好的語言網址
• 自動 hreflang 標籤生成
• 語言感知的永久連結
• 語言切換器短碼和小工具
• 支援 110 多種語言
外掛標籤
開發者團隊
② 後台搜尋「Translera – Automatic Google Translate for Multilingual Websites」→ 直接安裝(推薦)
原文外掛簡介
Translera is a lightweight automatic WordPress translation plugin for creating multilingual websites with clean language URLs, Google Translate support, and flexible language switchers.
Use Translera to add a multilingual experience to blogs, business websites, landing pages, WooCommerce-style storefronts, documentation sites, and Elementor pages. The plugin supports language prefixes such as /es/, /fr/, and /ar/, query parameter language URLs, automatic hreflang tags, RTL language handling, and 110+ languages.
🚀 Free Features
Google Translate integration — free browser translation via Google Website Translator (no API key), or optionally your own Google Cloud Translation API key for server-side phrases.
SEO-friendly language URLs — subdirectory URLs like example.com/es/page/ or query URLs like example.com/page/?lang=es.
Automatic hreflang tags — alternate links and x-default for enabled languages.
Language-aware permalinks — pages, posts, home, terms, and custom post types keep the active language prefix.
Language switcher shortcode — [translera_switcher] with style, flags, names, and label options.
Floating language switcher — optional fixed-position switcher (corner placement, mobile/desktop offsets, shell styling, live admin preview).
Gutenberg block — Language Switcher block with layout and style controls in the editor.
Elementor widget — native switcher widget with Normal/Hover style panels.
Switcher customization — colors, borders, radius, padding, shadows, and hover/active states for the button and dropdown (Settings, block, and Elementor).
Multiple switcher layouts — dropdown (click or hover), flags-only row, or vertical list; optional two-language opposite switch.
Language labels — full English names, native names, or short codes (e.g. EN, ES) on flags and text.
110+ supported languages — including English, Spanish, French, German, Arabic, Chinese, Japanese, Portuguese, Hindi, Hebrew, Persian, Urdu, and more.
RTL support — optional right-to-left layout for Arabic, Hebrew, Persian, Urdu, and similar locales.
Browser language detection — optional redirect to the visitor’s preferred enabled language.
Translation caching — transients and client-side caching to reduce repeat translation work.
Lightweight frontend — no jQuery requirement; works with most themes and page builders.
⭐ Pro Features
Premium translation engines — DeepL, OpenAI, Anthropic Claude, Azure Translator, and LibreTranslate (bring your own API keys).
Translation Analytics — dashboard for page views, languages, switch paths, word estimates, cache rate, and trends.
Geo-location language detection — suggest language from visitor country/region alongside browser detection.
Advanced multilingual SEO — per-language canonical URLs, translated titles and meta descriptions, translated post/page slugs, and compatibility layers for Yoast SEO, Rank Math, AIOSEO, and SEOPress (free tier already outputs hreflang and language URLs).
Custom language URL slugs — friendly path or ?lang= values (e.g. /arabic/ instead of /ar/) with a per-language slug editor.
Translation Studio — glossary (including “do not translate”), manual overrides, CSS selectors to skip, visual front-end editing, and quality workflows.
Translate Once (translation memory) — store and reuse translations sitewide to cut repeat API cost (pairs with Pro engines and optional Google Cloud phrase translation).
Why Use Translera?
Translera helps make your WordPress site easier to read for international visitors while keeping your URLs structured for multilingual SEO. It is built around standard WordPress APIs, so it works with most themes and can be used through shortcode, block editor, Elementor, or PHP template code.
Configuration
General Settings
Choose the default site language.
Enable the languages you want to show in the switcher.
Select Google Translate as the translation method.
Choose subdirectory URLs or query parameter URLs.
Enable or disable browser language detection.
Enable or disable the Elementor widget and Gutenberg block integrations. Both are enabled by default.
URL Structures
Translera supports two multilingual URL formats:
Subdirectory URLs: example.com/es/privacy-policy/
Query parameter URLs: example.com/privacy-policy/?lang=es
Subdirectory URLs are recommended for clean, SEO-friendly multilingual site structure.
Google Translate
Translera can translate using Google Translate. Leave the Google API key field empty to use free Google Website Translator in the browser (no key required). Optionally add your own API key to use the official Google Cloud Translation API for server-side phrase translation.
Language Switcher
The language switcher can show flags, native language names, translated language names, or a compact flags-only layout. Available styles include:
Dropdown
Flags only
List
Usage
Shortcode
Add the language switcher anywhere shortcodes are supported:
[translera_switcher]
Use shortcode options to customize the output:
[translera_switcher style="flags" show_flags="true" show_names="false"]
Gutenberg Block
The Gutenberg block integration is enabled by default from Translera > Settings > General > Integrations.
Edit a page or post with the block editor.
Search for Translera Language Switcher.
Insert the block.
Choose the switcher style and display options in the block sidebar.
Elementor Widget
The Elementor widget integration is enabled by default from Translera > Settings > General > Integrations.
Edit a page with Elementor.
Search for Translera Language Switcher.
Drag the widget into your layout.
Configure style, flags, native names, and alignment.
PHP Template Usage
Theme developers can render the switcher in template files:
'dropdown',
'show_flags' => true,
'show_native' => true,
'show_names' => true,
)
)
);
?>
Supported Languages
Translera includes support for English, Spanish, French, German, Arabic, Chinese, Japanese, Portuguese, Russian, Italian, Korean, Dutch, Polish, Turkish, Vietnamese, Thai, Indonesian, Hindi, Swedish, Danish, Finnish, Norwegian, Greek, Hebrew, Ukrainian, Czech, Romanian, Hungarian, Bengali, Malay, Persian, Urdu, and more.
SEO Features (free)
Translera’s free tier includes core multilingual SEO building blocks:
Clean language-specific URLs (subdirectory or query parameter).
Automatic hreflang alternate links and x-default.
Language-aware links for pages, posts, home, archives, terms, and custom post types.
RTL-aware lang and dir attributes when RTL layout is enabled.
Advanced canonical URLs, translated meta, translated slugs, custom language URL segments, and major SEO plugin integrations are part of Translera Pro.
External services
This plugin uses Google translation services to translate page content and language-switcher labels. It may also connect to Freemius for optional usage tracking after an admin opts in. Translation requests are sent only when a visitor views a non-default language version of your site (or when an administrator runs a translation test from the settings screen).
Freemius (optional usage tracking)
Translera includes the Freemius SDK for optional usage analytics and insights. No tracking data is sent until a site administrator opts in from the Freemius connect screen (you can skip). If you opt in, Freemius may receive diagnostic information such as the site URL, plugin version, SDK version, WordPress/PHP versions, and the admin name/email used for the opt-in. You can opt out later from the Plugins screen.
Service provider: Freemius, Inc. — Terms of Service, Privacy Policy.
Google Cloud Translation API
When you enter a Google Cloud API key in Translera > Settings, the plugin sends translation requests to the official Google Cloud Translation API (https://translation.googleapis.com/language/translate/v2).
What is sent: The text to translate, source language code, target language code, and your API key.
When it is sent: During server-side translation (when enabled via the translera_auto_translate filter), REST API translation tests from the admin, and any server-side caching of translations.
Service provider: Google LLC — Terms of Service, Privacy Policy.
Google Translate (free — Website Translator)
When no Google Cloud API key is configured, Translera translates pages in the visitor’s browser using Google’s official Website Translator library (https://translate.google.com/translate_a/element.js). No API key is embedded or required.
What is loaded: Google’s Website Translator script from translate.google.com.
What is sent: Page content is translated client-side by Google’s script in the visitor’s browser. Translera does not send visitor account data and does not embed any Google API key.
When it is loaded: When a visitor views a non-default language URL (for example /es/).
Service provider: Google LLC — Google Terms of Service, Privacy Policy.
Note: Free Website Translator quality and availability are controlled by Google. For production sites that need server-side translation or a Cloud API SLA, add your own Google Cloud Translation API key in settings.
