Translera – Automatic Google Translate for Multilingual Websites

Popis

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.
  • SEO-friendly language URLs – use clean subdirectory URLs like example.com/es/page/ or query URLs like example.com/page/?lang=es.
  • Automatic hreflang tags – help search engines understand alternate language versions of each page.
  • Language switcher shortcode – add [translera_switcher] to pages, posts, widgets, or templates.
  • Gutenberg block – insert a language switcher directly in the WordPress block editor.
  • Elementor widget – add a native Translera Language Switcher widget to Elementor layouts.
  • Integration controls – Elementor widget and Gutenberg block integrations are enabled by default and can be managed from Translera settings.
  • Multiple switcher styles – choose dropdown, flags-only, or list layouts.
  • 110+ supported languages – including English, Spanish, French, German, Arabic, Chinese, Japanese, Portuguese, Hindi, Hebrew, Persian, Urdu, Swahili, Filipino, and many more.
  • RTL support – optional right-to-left layout for languages such as Arabic, Hebrew, Persian, and Urdu.
  • Browser language detection – optionally detect the visitor’s preferred language.
  • Translation caching support – reduce repeated translation requests with transient and browser-side caching.
  • Lightweight frontend assets – designed to add multilingual tools without heavy page-builder dependencies.

⭐ Pro Features

  • Premium Translation Engines – DeepL, OpenAI, Anthropic Claude, Azure Translator, and LibreTranslate (Requires Own API Key)
  • Translation Analytics – Track translation volume, costs, and performance in a dashboard
  • Geo-location Language Detection – Detect visitor location and serve their preferred language
  • Advanced Multilingual SEO – Hreflang, canonical URLs, translated slugs, and meta descriptions
  • Translation Studio – Glossary, overrides, batch editing, and quality control
  • Translation Studio – Reuse translations so the same content isn’t translated twice

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.

  1. Edit a page or post with the block editor.
  2. Search for Translera Language Switcher.
  3. Insert the block.
  4. 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.

  1. Edit a page with Elementor.
  2. Search for Translera Language Switcher.
  3. Drag the widget into your layout.
  4. Configure style, flags, native names, and alignment.

PHP Template Usage

Theme developers can render the switcher in template files:

<?php
echo wp_kses_post(
    Translera_Language_Switcher::render_block(
        array(
            'style'       => '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

Translera is built for multilingual SEO workflows:

  • Clean language-specific URLs.
  • Automatic hreflang alternate links.
  • x-default hreflang output.
  • Language-aware page, post, home, and term links.
  • RTL-aware HTML attributes for supported languages.

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.

Bloky

Tento plugin poskytuje 1 blok.

  • Translera Language Switcher Add a language switcher to your site

Instalace

  1. Upload the translera folder to the /wp-content/plugins/ directory.
  2. Activate the plugin from the WordPress Plugins screen.
  3. Go to Translera > Settings in the WordPress dashboard.
  4. Choose your default language, enabled languages, and URL structure.
  5. Add the language switcher using a shortcode, Gutenberg block, or Elementor widget.
  6. If you use subdirectory URLs, save your WordPress permalinks once after activation if language URLs do not load immediately.

Nejčastější dotazy

Is Translera free?

Yes. Translera is free to install and use. Free Google Website Translator does not require an API key. If you add a Google Cloud Translation API key, Google’s Cloud Translation pricing and limits apply to that key.

Do I need a Google Translate API key?

No. Leave the API key field empty to use free Google Website Translator in the browser. If you prefer the official Google Cloud Translation API for server-side phrase translation, add your own API key in the settings.

Does Translera work with Elementor?

Yes. Translera includes a dedicated Elementor Language Switcher widget.

Does Translera work with Gutenberg?

Yes. Translera includes a WordPress block for adding a language switcher in the block editor.

Can I use a shortcode?

Yes. Use [translera_switcher] anywhere WordPress shortcodes are supported.

Does Translera add hreflang tags?

Yes. Translera outputs alternate hreflang links for enabled languages and an x-default link.

Which URL structure is best for SEO?

Subdirectory URLs such as example.com/es/page/ are usually preferred for multilingual SEO because each language version has a clean, crawlable URL.

Does Translera support RTL languages?

Yes. Enable RTL layout in Translera settings to apply right-to-left page direction for languages such as Arabic, Hebrew, Persian, and Urdu.

Will it work with my theme?

Translera uses standard WordPress hooks and should work with most modern WordPress themes.

Recenze

Pro tento plugin nejsou žádné recenze.

Autoři

Translera – Automatic Google Translate for Multilingual Websites je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Přehled změn

1.0.5 – 26/08/2026

  • Fixed: Free translation now uses Google’s official Website Translator (element.js) with no embedded API key
  • Removed: Hardcoded Google translate-pa / te_lib API key and unofficial free translation endpoints.
  • Improved: Optional Google Cloud Translation API key remains for server-side phrase translation only.
  • Added: Per-block button styling for colors, borders (including borderless), radius, padding, text size, flag size, and drop shadow.
  • Added: Separate dropdown menu styling for colors, borders, radius, padding, text size, and drop shadow.
  • Added: Hover and active/current language color controls for the switcher.
  • Added: Elementor spacing controls for gap, flag/text gap, arrow size, menu min-width, offset, item padding, and font weight.
  • Added: Separate menu item hover colors for dropdowns in both Gutenberg and Elementor.
  • Improved: Gutenberg Language Switcher block settings sidebar and Styles controls now load reliably in the block editor.
  • Improved: Editor preview now uses an interactive React switcher, allowing the dropdown to open and close like the frontend.
  • Improved: Elementor style panels with native Normal/Hover tabs and grouped sections for Colors, Typography, Border, Effects, and Spacing.
  • Improved: Elementor preview keeps the dropdown menu open while the widget is selected for live menu styling.
  • Improved: Free mode uses Google Website Translator; Cloud API key path uses secure site AJAX phrase translation.
  • Fixed: Dropdown toggle and language links not initializing in Elementor preview on default-language pages.
  • Fixed: Legacy blocks that stored the layout variant in style now migrate to switcherStyle without breaking existing layouts.
  • Fixed: Theme/editor focus outlines showing a rectangular black box around rounded dropdown buttons.
  • Fixed: Switcher HTML escaping to preserve the dropdown button and custom CSS variables.
  • Updated: Tested up to WordPress 7.1.

1.0.4 – 12/07/2026

  • Fixed: Elementor widget loading, and integration setting.
  • Fixed: Auto-detect redirects once to the language URL; safer URL filters and hreflang.
  • Improved: Translation cache, queued client-side translate, shortcode booleans, and frontend assets.
  • Improved: Switcher accessibility, block.json registration, and Freemius after_uninstall cleanup.

1.0.3 – 07/06/2026

  • Fixed: Custom post type URLs with language prefixes resolve correctly instead of showing the home page or a 404.
  • Fixed: Language-prefixed CPT permalinks now include the correct post_type and name query mapping after URL parsing.
  • Added: post_type_link filter support so custom post type permalinks keep the active language prefix.

1.0.2 – 21/05/2026

  • Updated: Tested up to WordPress 7.0

1.0.1 – 20/05/2026

  • Document Google translation external services in readme (terms and privacy links).
  • Remove inline admin CSS; use enqueued stylesheets.
  • Escape filter and shortcode output per WordPress security standards.

1.0.0 – 20/05/2026

  • Initial release.