About this plugin
Translangated turns your WordPress site into a fully multilingual website. Translate every page, post, menu, widget, WooCommerce product and theme or plugin string directly from the front end, while you see the live page. No license key, no paid tiers and no word limits: every feature is included.
Visual front-end translation editor
- Click any text on the page and type its translation, with a live preview.
- Translate images, alt text, links and SEO metadata in the same editor.
- String Translation for theme and plugin text (gettext), emails and URL slugs.
- Works with Gutenberg, Elementor, WPBakery and most page builders and themes.
Automatic translation with DeepL and Google Translate
- Translate a whole site in minutes with your own DeepL (Free or Pro) or Google Translate API key.
- Review and edit every machine translation in the visual editor.
- Formality setting for DeepL (formal or informal tone) in supported languages.
Multilingual SEO
- Translate URL slugs for posts, pages, categories, tags, custom post types and WooCommerce products.
- Translate page titles, meta descriptions, Open Graph and Twitter card tags, and image alt text.
- SEO-friendly language URLs (example.com/es/), hreflang tags and translated XML sitemaps, so search engines index each language.
Language switcher and visitor language detection
- Add a language switcher as a floating switcher, a menu item, a shortcode, a Gutenberg block or an Elementor widget, with flags and language names.
- Automatic user language detection sends first-time visitors to the language of their browser. It works with page caches and never redirects search engine crawlers.
Unlimited languages
- Add as many languages as you need, including regional variants such as es_MX or pt_BR.
- Keep a language unpublished until its translation is ready.
WooCommerce translation
- Translate products, categories, attributes, cart, checkout and WooCommerce emails.
- Customers receive order emails in the language they used on your store.
Your data stays on your site
All translations are stored in your own WordPress database. Translangated contacts no outside service unless you turn on automatic translation (see “External services” below).
External services
Translangated only connects to outside services when you turn on automatic translation and enter your own API key for one of the engines below. Nothing is sent before that.
DeepL API
Used to machine-translate your site content when DeepL is the selected engine. com (Pro keys). It also requests the list of supported languages.
- Terms of service: https://www.deepl.com/pro-license
- Privacy policy: https://www.deepl.com/privacy
Google Cloud Translation API
Used to machine-translate your site content when Google Translate is the selected engine. com.
- Terms of service: https://cloud.google.com/terms
- Privacy policy: https://policies.google.com/privacy
Source code and build
css, are built with webpack from the uncompressed Vue, JavaScript and SCSS sources included in assets/src/. js is built from includes/gutenberg-blocks/block-language-restriction/src/ by the same configuration. js in the plugin folder.
js and npm):
- Run npm install in the plugin folder.
- Run npm run build (or npm run dev to rebuild on every change).
Third-party libraries bundled in assets/lib/:
- Select2 4.1.0 ( assets/lib/select2-lib/ ), MIT license. Source: https://github.com/select2/select2. Non-minified copies ( select2.js, select2.css ) are included next to the minified files.
- simple_html_dom 1.9.1 ( assets/lib/simplehtmldom/ ), MIT license. Source: https://sourceforge.net/projects/simplehtmldom/
- potx, the Drupal Translation template extractor ( assets/lib/potx/ ), GPLv2 or later. Source: https://www.drupal.org/project/potx
Credits
Portions Copyright 2017 Cozmoslabs (GPLv2 or later), modified by Jyolabs. txt.