{"id":314309,"date":"2026-05-20T13:34:57","date_gmt":"2026-05-20T13:34:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/translera\/"},"modified":"2026-05-20T13:32:10","modified_gmt":"2026-05-20T13:32:10","slug":"translera","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/translera\/","author":16195266,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Translera \u2013 Automatic Google Translate for Multilingual Websites","header_author":"ilmosys","header_description":"Translate WordPress with Google Translate, SEO hreflang language URLs, Elementor\/Gutenberg switchers, shortcode support, RTL, and 30+ languages.","assets_banners_color":"","last_updated":"2026-05-20 13:32:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/ilmosys.com","header_author_uri":"https:\/\/www.ilmosys.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":26,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"ilmosys","date":"2026-05-20 13:32:10"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"translera\/language-switcher":{"name":"translera\/language-switcher","title":"Translera Language Switcher"}},"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Translera settings dashboard.","2":"Language switcher dropdown.","3":"Flags-only language switcher.","4":"Elementor language switcher widget.","5":"Gutenberg language switcher block."}},"plugin_section":[],"plugin_tags":[12520,2336,22323,99,2333],"plugin_category":[48],"plugin_contributors":[236818],"plugin_business_model":[],"class_list":["post-314309","plugin","type-plugin","status-publish","hentry","plugin_tags-automatic-translate","plugin_tags-google-translate","plugin_tags-language-switcher","plugin_tags-multilingual","plugin_tags-translation","plugin_category-language-tools","plugin_contributors-ilmosys","plugin_committers-ilmosys"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/translera.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Translera is a lightweight automatic WordPress translation plugin for creating multilingual websites with clean language URLs, Google Translate support, and flexible language switchers.<\/p>\n\n<p>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 <code>\/es\/<\/code>, <code>\/fr\/<\/code>, and <code>\/ar\/<\/code>, query parameter language URLs, automatic hreflang tags, RTL language handling, and more than 30 languages.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Google Translate integration<\/strong> - translate content with Google Translate using the free endpoint or your own Google API key.<\/li>\n<li><strong>SEO-friendly language URLs<\/strong> - use clean subdirectory URLs like <code>example.com\/es\/page\/<\/code> or query URLs like <code>example.com\/page\/?lang=es<\/code>.<\/li>\n<li><strong>Automatic hreflang tags<\/strong> - help search engines understand alternate language versions of each page.<\/li>\n<li><strong>Language switcher shortcode<\/strong> - add <code>[translera_switcher]<\/code> to pages, posts, widgets, or templates.<\/li>\n<li><strong>Gutenberg block<\/strong> - insert a language switcher directly in the WordPress block editor.<\/li>\n<li><strong>Elementor widget<\/strong> - add a native Translera Language Switcher widget to Elementor layouts.<\/li>\n<li><strong>Multiple switcher styles<\/strong> - choose dropdown, flags-only, or list layouts.<\/li>\n<li><strong>30+ supported languages<\/strong> - including English, Spanish, French, German, Arabic, Chinese, Japanese, Portuguese, Hindi, Hebrew, Persian, Urdu, and more.<\/li>\n<li><strong>RTL support<\/strong> - automatically handles right-to-left languages such as Arabic, Hebrew, Persian, and Urdu.<\/li>\n<li><strong>Browser language detection<\/strong> - optionally detect the visitor's preferred language.<\/li>\n<li><strong>Translation caching support<\/strong> - reduce repeated translation requests with transient and browser-side caching.<\/li>\n<li><strong>Lightweight frontend assets<\/strong> - designed to add multilingual tools without heavy page-builder dependencies.<\/li>\n<\/ul>\n\n<h4>Why Use Translera?<\/h4>\n\n<p>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.<\/p>\n\n<h3>Configuration<\/h3>\n\n<h4>General Settings<\/h4>\n\n<ul>\n<li>Choose the default site language.<\/li>\n<li>Enable the languages you want to show in the switcher.<\/li>\n<li>Select Google Translate as the translation method.<\/li>\n<li>Choose subdirectory URLs or query parameter URLs.<\/li>\n<li>Enable or disable browser language detection.<\/li>\n<\/ul>\n\n<h4>URL Structures<\/h4>\n\n<p>Translera supports two multilingual URL formats:<\/p>\n\n<ul>\n<li><strong>Subdirectory URLs:<\/strong> <code>example.com\/es\/privacy-policy\/<\/code><\/li>\n<li><strong>Query parameter URLs:<\/strong> <code>example.com\/privacy-policy\/?lang=es<\/code><\/li>\n<\/ul>\n\n<p>Subdirectory URLs are recommended for clean, SEO-friendly multilingual site structure.<\/p>\n\n<h4>Google Translate<\/h4>\n\n<p>Translera can translate using Google Translate. You can leave the Google API key field empty to use the free translation endpoint, or add your own API key for Google Cloud Translation API requests.<\/p>\n\n<h4>Language Switcher<\/h4>\n\n<p>The language switcher can show flags, native language names, translated language names, or a compact flags-only layout. Available styles include:<\/p>\n\n<ul>\n<li>Dropdown<\/li>\n<li>Flags only<\/li>\n<li>List<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h4>Shortcode<\/h4>\n\n<p>Add the language switcher anywhere shortcodes are supported:<\/p>\n\n<pre><code>[translera_switcher]\n<\/code><\/pre>\n\n<p>Use shortcode options to customize the output:<\/p>\n\n<pre><code>[translera_switcher style=\"flags\" show_flags=\"true\" show_names=\"false\"]\n<\/code><\/pre>\n\n<h4>Gutenberg Block<\/h4>\n\n<ol>\n<li>Edit a page or post with the block editor.<\/li>\n<li>Search for <strong>Translera Language Switcher<\/strong>.<\/li>\n<li>Insert the block.<\/li>\n<li>Choose the switcher style and display options in the block sidebar.<\/li>\n<\/ol>\n\n<h4>Elementor Widget<\/h4>\n\n<ol>\n<li>Edit a page with Elementor.<\/li>\n<li>Search for <strong>Translera Language Switcher<\/strong>.<\/li>\n<li>Drag the widget into your layout.<\/li>\n<li>Configure style, flags, native names, and alignment.<\/li>\n<\/ol>\n\n<h4>PHP Template Usage<\/h4>\n\n<p>Theme developers can render the switcher in template files:<\/p>\n\n<pre><code>&lt;?php\necho wp_kses_post(\n    Translera_Language_Switcher::render_block(\n        array(\n            'style'       =&gt; 'dropdown',\n            'show_flags'  =&gt; true,\n            'show_native' =&gt; true,\n            'show_names'  =&gt; true,\n        )\n    )\n);\n?&gt;\n<\/code><\/pre>\n\n<h3>Supported Languages<\/h3>\n\n<p>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.<\/p>\n\n<h3>SEO Features<\/h3>\n\n<p>Translera is built for multilingual SEO workflows:<\/p>\n\n<ul>\n<li>Clean language-specific URLs.<\/li>\n<li>Automatic <code>hreflang<\/code> alternate links.<\/li>\n<li><code>x-default<\/code> hreflang output.<\/li>\n<li>Language-aware page, post, home, and term links.<\/li>\n<li>RTL-aware HTML attributes for supported languages.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin uses Google translation services to translate page content and language-switcher labels. 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).<\/p>\n\n<h4>Google Cloud Translation API<\/h4>\n\n<p>When you enter a Google Cloud API key in <strong>Translera &gt; Settings<\/strong>, the plugin sends translation requests to the official Google Cloud Translation API (<code>https:\/\/translation.googleapis.com\/language\/translate\/v2<\/code>).<\/p>\n\n<p><strong>What is sent:<\/strong> The text to translate, source language code, target language code, and your API key.<\/p>\n\n<p><strong>When it is sent:<\/strong> During server-side translation (when enabled via the <code>translera_auto_translate<\/code> filter), REST API translation tests from the admin, and any server-side caching of translations.<\/p>\n\n<p><strong>Service provider:<\/strong> Google LLC \u2014 <a href=\"https:\/\/cloud.google.com\/terms\/service-terms\">Terms of Service<\/a>, <a href=\"https:\/\/policies.google.com\/privacy\">Privacy Policy<\/a>.<\/p>\n\n<h4>Google Translate (free endpoint)<\/h4>\n\n<p>When no API key is configured, the plugin may use Google's public translate endpoint (<code>https:\/\/translate.googleapis.com\/translate_a\/single<\/code>) for server-side and browser-side translation.<\/p>\n\n<p><strong>What is sent:<\/strong> The text to translate, source language code, target language code, and a client identifier (<code>gtx<\/code>). No API key is sent.<\/p>\n\n<p><strong>When it is sent:<\/strong> When a visitor loads a page in a non-default language (browser-side translation in <code>frontend.js<\/code>), during server-side translation when enabled, and during admin translation tests.<\/p>\n\n<p><strong>Service provider:<\/strong> Google LLC \u2014 <a href=\"https:\/\/policies.google.com\/terms\">Google Terms of Service<\/a>, <a href=\"https:\/\/policies.google.com\/privacy\">Privacy Policy<\/a>.<\/p>\n\n<p><strong>Note:<\/strong> The free endpoint is not part of the official Google Cloud Translation API and may be subject to usage limits or changes by Google. For production sites, Google recommends using the Cloud Translation API with your own API key.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>translera<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin from the WordPress Plugins screen.<\/li>\n<li>Go to <strong>Translera &gt; Settings<\/strong> in the WordPress dashboard.<\/li>\n<li>Choose your default language, enabled languages, and URL structure.<\/li>\n<li>Add the language switcher using a shortcode, Gutenberg block, or Elementor widget.<\/li>\n<li>If you use subdirectory URLs, save your WordPress permalinks once after activation if language URLs do not load immediately.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20translera%20free%3F\"><h3>Is Translera free?<\/h3><\/dt>\n<dd><p>Yes. Translera is free to install and use. Google Translate API usage may require your own Google account and may be subject to Google's pricing and limits.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20google%20translate%20api%20key%3F\"><h3>Do I need a Google Translate API key?<\/h3><\/dt>\n<dd><p>No. You can leave the API key field empty to use the free Google Translate endpoint. If you prefer the official Google Cloud Translation API, add your own API key in the settings.<\/p><\/dd>\n<dt id=\"does%20translera%20work%20with%20elementor%3F\"><h3>Does Translera work with Elementor?<\/h3><\/dt>\n<dd><p>Yes. Translera includes a dedicated Elementor Language Switcher widget.<\/p><\/dd>\n<dt id=\"does%20translera%20work%20with%20gutenberg%3F\"><h3>Does Translera work with Gutenberg?<\/h3><\/dt>\n<dd><p>Yes. Translera includes a WordPress block for adding a language switcher in the block editor.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20shortcode%3F\"><h3>Can I use a shortcode?<\/h3><\/dt>\n<dd><p>Yes. Use <code>[translera_switcher]<\/code> anywhere WordPress shortcodes are supported.<\/p><\/dd>\n<dt id=\"does%20translera%20add%20hreflang%20tags%3F\"><h3>Does Translera add hreflang tags?<\/h3><\/dt>\n<dd><p>Yes. Translera outputs alternate hreflang links for enabled languages and an <code>x-default<\/code> link.<\/p><\/dd>\n<dt id=\"which%20url%20structure%20is%20best%20for%20seo%3F\"><h3>Which URL structure is best for SEO?<\/h3><\/dt>\n<dd><p>Subdirectory URLs such as <code>example.com\/es\/page\/<\/code> are usually preferred for multilingual SEO because each language version has a clean, crawlable URL.<\/p><\/dd>\n<dt id=\"does%20translera%20support%20rtl%20languages%3F\"><h3>Does Translera support RTL languages?<\/h3><\/dt>\n<dd><p>Yes. Translera supports RTL handling for Arabic, Hebrew, Persian, and Urdu.<\/p><\/dd>\n<dt id=\"will%20it%20work%20with%20my%20theme%3F\"><h3>Will it work with my theme?<\/h3><\/dt>\n<dd><p>Translera uses standard WordPress hooks and should work with most modern WordPress themes.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1 - 20\/05\/2026<\/h4>\n\n<ul>\n<li>Document Google translation external services in readme (terms and privacy links).<\/li>\n<li>Remove inline admin CSS; use enqueued stylesheets.<\/li>\n<li>Escape filter and shortcode output per WordPress security standards.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 20\/05\/2026<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Add multilingual WordPress translation with Google Translate, SEO hreflang URLs, Elementor, Gutenberg, and a language switcher.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/314309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=314309"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ilmosys"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=314309"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=314309"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=314309"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=314309"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=314309"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=314309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}