=== AutoPoly - AI Translation For Polylang ===
Contributors: narinder-singh,satindersingh,coolplugins
Tags: Polylang, AI Translation, Content Translation, Translate
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 5.6
Stable tag: 1.4.7
Author URI: https://coolplugins.net/
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
AI Translation For Polylang simplifies your translation process by automatically translating all pages/posts content from one language to another.

== Description ==
**Translate Your WordPress Website 10X Faster – Powered by AI, Built for Polylang**.

https://youtu.be/QGOueushC8U?si=Q-fpZ98sv4hcC9o-

[**AutoPoly - AI Translation For Polylang**](https://coolplugins.net/product/autopoly-ai-translation-for-polylang/?utm_source=atfp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=top_description) reduces your translation **workload by 90%**. With this powerful addon, you can translate your **Gutenberg** and **Elementor pages**, sections, and widgets within a few clicks.

This addon duplicates and translates **page/post titles, content, images, galleries, and meta fields,** eliminating the need to manually adjust featured images, layouts, and other elements.

Whether you're using **Elementor** or **Gutenberg**, this addon makes the translation process easier, allowing you to focus on expanding your global audience effortlessly.


== Key Features ==

* **AI Automatic Translation** - Translate your Elementor & Gutenberg website content using Chrome built-in AI. This feature enables real-time translation directly within the browser, without any paid API services.
* **Elementor Page Translation** - Translate entire Elementor pages, including all sections, widgets, and content, without losing styles or design.
* **Gutenberg Block Compatibility** - Automatically translate content within Gutenberg blocks, including core blocks and popular third-party blocks like Spectra, Kadence, Stackable, Otter, and Essential.
* **Automatic Content Translation** - Effortlessly translate post titles, content, images, galleries, and meta fields from one language to another using Machine & AI Translations.
* **ACF Fields Translation** - Translate ACF fields only with type(text, textarea & wysiwyg) in Gutenberg pages.
* **One-Click Duplication** - Easily duplicate your original or default language content into other languages, saving time and reducing manual work.
* **Style and Format Preservation** - The plugin maintains all styles, formats, and layouts from the original post, ensuring that your translated content maintains a consistent appearance.
* **Multilingual Management** - Simplifies the process of managing a multilingual website by automating translation and reducing the need for repetitive actions.
* **Custom Block Support** - While optimized for Gutenberg blocks, the plugin also works with several third-party block plugins, extending its versatility.
* **Easy to Use** - Designed with a user-friendly interface, making it accessible even for those with limited technical knowledge.

#### FREE v/s Premium Addon Comparison

**Free License**

* ✅ **Yandex Translate Widget Support:** Available
* ✅ **Chrome Built-in AI Translation Support:** Available
* ✅ **API Key Required:** Not Required (Yandex Widget & Chrome Built-in AI)
* ✅ **Gutenberg Block Compatibility**
* ✅ **Elementor Page Translation**
* ✅ **Inline Translation**
* ✅ **Custom Block Translation:** Available
* ❌ **Classic Editor Translation:** Not Available
* ❌ **Unlimited Free Translations:** Not Available (500k characters only)
* ❌ **Google Translate Widget Support:** Not Available
* ❌ **OpenAI Translation Support:** Not Available
* ❌ **Gemini Translation Support:** Not Available
* ❌ **Bulk Translation:** Not Available
* ❌ **Premium Support:** Not Available

**Premium License**

* **✅ Bulk Translation:** Translate multiple posts, pages, or products at once to save time.
* **✅  Elementor Page Translation:** Automatically translate entire Elementor pages, sections, and widgets.
* **✅ Classic Editor Translation:** Easily translate all content created with the Classic WordPress Editor.
* **✅ Inline Translation:** Translate specific text blocks or widgets directly on the front end.
* ✅  **Gutenberg Block Compatibility:** Fully compatible with Gutenberg, this plugin allow you to translate block-based layouts.
* ✅ **Chrome Built-in AI Translation Support:** Instantly translate content directly inside browser using Chrome’s built-in AI translator.
* ✅ **Gemini Translation Support:** Use Gemini AI to generate high-quality, context-aware translations.
* ✅ **Google Translate Widget Support:** Automate the translation process using the Google Translate Widget.
* ✅ **OpenAI Translation Support:** Access OpenAI’s advanced language models for more natural translations.
* ✅ **Unlimited Free Translations:** Translate unlimited content without any usage restrictions or extra fees.
* ✅ **Premium Support:** [Quick Support](https://coolplugins.net/support/?utm_source=atfp_plugin&utm_medium=readme&utm_campaign=support&utm_content=premium_support)
  (**Support time:- 24-48 hours**)

&#x20;[**Upgrade to Pro!**](https://coolplugins.net/product/autopoly-ai-translation-for-polylang/?utm_source=atfp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=get_pro)

https://www.youtube.com/watch?v=M-3Miv_JTY4

#### Our Advanced Language Switcher Plugins

[Language Switcher – Polylang for Divi](https://wordpress.org/plugins/language-switcher-for-divi-polylang/): Add a customizable language switcher to your website inside the Divi Builder using Polylang.

[Language Switcher for Elementor & Polylang](https://go.coolplugins.net/language-switcher): Add a powerful language switcher to your website and easily translate Elementor Templates.

#### Check out our advanced Automatic Translate Addon for Loco Translate

* [**Automatic Translate Addon for Loco Translate**](https://locoaddon.com/?utm_source=atfp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=atlt_check_out) is an addon that enhances the functionality of the **Loco Translate** plugin by enabling the **automatic translation of WordPress themes and plugins**. This addon connects with sources like Google, Yandex, DeepL, or AI-powered sources like **ChatGPT,** **Gemini AI** and **Chrome AI** to provide instant and automated translations.
* [**AI Translation for TranslatePress**](https://coolplugins.net/product/automatic-translate-addon-for-translatepress-pro/?utm_source=atfp_plugin&utm_medium=inside&utm_campaign=get_pro&utm_content=tpa_check_out) is a powerful addon that enhances the functionality of the TranslatePress plugin. This addon uses advanced translation services, like Google Translate, Yandex, and Chrome AI translator, to provide accurate and instant translations for your web pages automatically.

> **Important Notice:** This plugin serves as an AI translation extension for the official [**Polylang**](https://wordpress.org/plugins/polylang/) plugin.

> **Disclaimer:** This plugin is not developed by or affiliated with the [**Polylang developers**](https://wordpress.org/plugins/polylang/). It is a third-party addon that offers automatic translation functionality, enabling you to quickly translate your posts while maintaining the same styles in other languages.

== Installation ==

To install and set up **AutoPoly - AI Translation For Polylang**, please follow these steps:

1. **Ensure Compatibility:**
   Confirm that your website is running WordPress version 5.0 or higher.
2. **Install and Activate Polylang:**
   * Navigate to your WordPress dashboard.
   * Go to **Plugins > Add New**.
   * Search for "**Polylang**".
   * Click **Install Now** and then **Activate** the [Polylang plugin](https://wordpress.org/plugins/polylang/).
3. **Install AutoPoly - AI Translation For Polylang:**
   * In the WordPress dashboard, go to **Plugins > Add New**.
   * Search for "**AutoPoly - AI Translation For Polylang**".
   * Click **Install Now** next to the plugin.
4. **Activate the Plugin:**
   * After installation, click **Activate** to enable **AutoPoly - AI Translation For Polylang** on your site.

Your plugin is now ready to use. You can access its settings and begin translating your content automatically.

== Custom Blocks Support ==
To make your custom blocks translation-ready, follow these steps:

* **Go to the Support Blocks Page:**
  Navigate to the languages page in your WordPress admin.
  Find the Support Blocks page.
* **Identify Your Blocks:**
  Check the list of supported and unsupported blocks.
  Search or filter to find your desired blocks.
* **Add Blocks for Translation:**
  Click the **"Edit"** or **"Add"** button next to the block you want to translate.
  The block will appear in the Gutenberg editor with the **"Make This Content Available for Translation"** text.
* **Enable Translation for Missing Sections:**
  If a section is missing, click the **"Click Here"** button.
  Copy the translation text and paste it into the desired block.
* **Update Your Page:**
  Save your changes to the page.
* **Translate Your Content:**
  Use Polylang's translation tools to translate your content.
  Your custom blocks will be automatically translated using the **AutoPoly - AI Translation For Polylang**.

By following these steps, you can ensure that your custom blocks are ready for translation and can be easily translated into multiple languages. For a visual guide, check out our demo video on how to add custom blocks for translation.

== Special Thanks ==

A special thanks to the authors of the [**Polylang**](https://wordpress.org/plugins/polylang/) plugin for creating an outstanding tool for multilingual management.

== Service Provider ==

This plugin provides automatic translation services for Polylang using the Yandex Translate API.

* **Service Description:**
  The plugin uses the Yandex Translate API to translate content in real-time, allowing you to easily manage multilingual content on your WordPress site.
* **Servers Being Called:**
  The plugin makes API calls to the following server:
  `https://translate.yandex.net/api/v1/tr.json/translate`
* **Account Requirements:**
  No Yandex Translate account is required to use this plugin. However, please note that API usage is subject to Yandex Translate's terms of service and usage limits.
* **Benefits:**
  By using the Yandex Translate API, you can enjoy improved translation accuracy and efficiency, making it easier to manage your multilingual content.

#### Important Links & Information

* [Yandex Translate Terms](https://yandex.com/legal/translate_termsofuse/)
* [Yandex Privacy Policy](https://yandex.com/legal/confidential/)
* [Chrome Built-in AI APIs Documentation](https://developer.chrome.com/docs/ai/built-in-apis)
* [Chrome Summarizer API Documentation](https://developer.chrome.com/docs/ai/summarizer-api)
* [Chrome Prompt API Documentation for Extensions](https://developer.chrome.com/docs/extensions/ai/prompt-api)

== Screenshots ==
1. AutoPoly Auto Translate Button & Translation modal.
2. Elementor Page Translation.
3. AutoPoly - AI Translation For Polylang Preview.
4. Gutenberg Block inline Translation.

== Frequently Asked Questions ==

= What does the "**AutoPoly - AI Translation For Polylang**" plugin do? =
This plugin automatically copies and translates your posts, including titles, content, images, galleries, and meta fields, from one language to another using Chrome AI. It works with Elementor and Gutenberg blocks, replicating the original content and styles across different languages.

= Is this plugin officially developed by Polylang? =
No, this plugin is not developed by or affiliated with the Polylang developers. It is a third-party addon designed to extend Polylang's functionality by adding automatic translation capabilities.

= Do I need an API key to use this plugin? =
No, this plugin does not require an API key. It uses Chrome built-in AI to provide automatic translations.

= Can I use this plugin with custom blocks or themes? =
This plugin works with Gutenberg blocks and several popular third-party blocks (e.g., Spectra, Kadence, Stackable, Otter, and Essential). While it may work with custom blocks or themes, compatibility is not guaranteed, so we recommend doing testing.

= Does the plugin translate all content on my website? =
The plugin automatically translates the entire content within your Elementor widgets and Gutenberg blocks. It does not translate content outside of these blocks or widgets, such as custom widgets, shortcodes, or other plugins' content that doesn't utilize Gutenberg blocks or Elementor widgets.

= Does this plugin support page & post sync for translations? =
Currently, our plugin does not support automatic synchronization of pages and posts across multiple languages. This means updates made to the original content will not automatically appear in the translated versions.

However, you can manually copy the original content into the translated page, and then use our inline translation feature to translate that content.

We’re considering adding sync support in future updates based on user feedback.

= How do I manage the translated content? =
The translated content is managed within the WordPress editor, just like your original content. The plugin duplicates your content into other languages, which you can then later review and adjust as needed.

= Can I undo the automatic translations if needed? =
Yes, you can manually edit or remove the translated content in the WordPress editor after it has been automatically translated.

**=** Which editors and page builders are supported? =

AutoPoly fully supports Gutenberg blocks, Elementor pages, and several popular third-party block libraries such as Spectra, Kadence Blocks, Otter Blocks, Stackable, and Essential Blocks.
The pro version of this addon supports the Classic Editor, allowing translation of standard content created without blocks.

= What if the translation quality is not accurate? =
While the plugin uses Chrome AI for automatic translations, you can manually adjust the translated content within the WordPress editor to ensure accuracy.

= Can I translate all posts and pages in bulk? =

Yes! The pro version of the plugin includes a Bulk Translate feature that lets you automatically duplicate and translate multiple posts, pages, or custom post types in one click. Simply select the source language and target languages, and the plugin will process them all at once

= How do I update the plugin to the latest version? =
You can update the plugin through the WordPress dashboard like any other plugin. Regular updates will ensure you have the latest features and security improvements.

= Will this plugin slow down my website? =
The plugin is optimized for performance, but the speed impact may vary depending on your hosting environment and the size of your content. The automatic translation process occurs in the background to minimize any potential impact on site performance.

= Does this plugin support the Classic Editor? =
Yes, this plugin supports automatic translations for content created with the Classic Editor only in the pro version.

= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities.[Report a security vulnerability](https://patchstack.com/database/wordpress/plugin/automatic-translations-for-polylang/vdp)

== Changelog ==

= Version 1.4.7 | 03 December 2025 =
* **Fixed:** Translation modal not working with wordpress latest version 6.9.
* **Tested up to:** WordPress 6.9.

= Version 1.4.6 | 03 November 2025 =

* **Added:** Support for translating Rank Math SEO table blocks and core table headers and footers.
* **Added:** Confirmation box when translating in a different editor but the page is made with Elementor.
* **Fixed:** Issue with Elementor HTML tags not rendering correctly after translation.
* **Fixed:** Translation now works for ACF repeater fields in Gutenberg.
* **Fixed:** Missing translations for some fields in Elementor testimonial widget.
* **Fixed:** JavaScript error when updating Gutenberg content.
* **Fixed:** Fixed line break formatting in WYSIWYG content.
* **Improved:** Added animation to the update button for long updates.
* **Improved:** Optimized performance of inline translation and smaller file size.
* **Improved:** Improved the block content update process.

= Version 1.4.5 | 21 August 2025 =

* **Fixed:** Addressed security vulnerabilities.

= Version 1.4.4 | 24 July 2025 =

* **Fixed:** Fixed Chrome Local AI translation not working.

= Version 1.4.3 | 10 July 2025 =

* **Added:** Enhanced user opt-in options for better customization.
* **Improved:** Update screenshots.

= Version 1.4.2 | 03 July 2025 =

* **Tweaks:**  Rebranded  from  **AI Translation for Polylang**  to   **AutoPoly - AI Translation For Polylang**.
* **Fixed:** Content format issue after translation.
* **Added:** Bulk Translation Pro button & pro version AI providers buttons.
* **Improved:** Settings modal styling and content.
* **Improved:** Dashboard pages styling and content.
* **Improved:** Text domain same as plugin name.
* **Tested up to:** WordPress 6.8.1.
* **Tested up to:** Elementor 3.30.1 & Elementor Pro 3.30.0.

= Version 1.4.1 | 09 June 2025 =

* **Fixed:** Fixed inline translation issue with browser latest version.
* **Improved:** Chrome Local AI translation Error message & step by step guide.
* **Improved:** Dashboard page title to AI Translation.
* **Improved:** Improve string modal box footer styling.
* **Improved:** Get started page content & styling.

= Version 1.4.0 | 29 May 2025 =

* **Added:** Added language filter links with post counts.
* **Added:** Added Auto Translate Addon dashboard and Get start page.
* **Fixed:** Fixed translation of post tags and custom taxonomies.
* **Fixed:** Fixed Elementor content formatting and button visibility issues.
* **Fixed:** Fixed errors with Gutenberg blocks.

= Version 1.3.7 | 08 May 2025 =

* **Fixed:** Fixed Chrome Local AI translation not working with latest version.

= Version 1.3.6 | 10 April 2025 =

* **Added:** SEO fields translation support on elementor pages.
* **Added:** Elementor inline translation feature.
* **Added:** Wordpress core image block caption translation support.
* **Fixed:** Fixed Chrome Local AI translation not working with latest version.
* **Fixed:** Elementor translation button visibility issue.
* **Tested up to:** WordPress 6.8.

= Version 1.3.5 | 02 April 2025 =

* **Enhanced:** Added FAQ section for Page/Post sync for better user support.
* **Minor:** Textual changes.

= Version 1.3.4 | 27 March 2025 =

* **Fixed:** Fixed shortcode translation issue.
* **Fixed:** Removed extra spaces after translations.
* **Fixed:** Fixed kadence infoBox block translation issue.
* **Improved:** String modal box overlay styling.

= Version 1.3.3 | 17 March 2025 =

* **Added:** Message to let users know that the Classic Editor is not supported.
* **Added:** New Error Modal box to make it easier to see translation errors.
* **Fixed:** Fixed the problem where Yandex translation would freeze when scrolling through long content.
* **Improved:** Made the settings modal look better and more user-friendly.

= Version 1.3.2 | 06 March 2025 =

* **Added:** Added support for ACF fields translation only with type(text, textarea & wysiwyg).
* **Added:** Added notice message in string modal body for better user experience.
* **Improved:** String modal box styling.

= Version 1.3.1 | 27 February 2025 =

* **Fixed:** Popup modal not appearing and the translate button not working properly in Gutenberg.
  = Version 1.3.0 | 26 February 2025 =
* **Added:** Elementor Page translation.
* **Added:** Gutenberg block inline translation feature.
* **Added:** Review Notice.
* **Fixed:** Translated text conflict issue with yandex & local ai translation.
* **Improved:** Improved Modal box styling.
* **Improved:** Improved String Modal box.

= Version 1.2.0 | 30 December 2024 =

* **Added:** Translation support for the Classic Paragraph Block (Automattic).
* **Added:** Translation support for YOST SEO plugin, Rank Math SEO plugin, and SEOPress plugin.

= Version 1.1.1 | 11 December 2024 =

* **Improved:** Renamed plugin to "AI Automatic Translations For Polylang".
* **Minor:** Minor textual changes.

= Version 1.1.0 | 09 December 2024 =

* **Added:** Chrome built-in Translator API using local AI modal.
* **Tested up to:** Added support for WordPress 6.7.1.

= Version 1.0.4 | 15 November 2024 =

* **Added:** Supported Blocks Page for easily adding custom blocks for translation.
* **Fixed:** Permalinks translation issue.
* **Fixed:** Load text domain issue.
* **Tested up to:** Added support for WordPress 6.7.

= Version 1.0.3 | 21 August 2024 =

* **Tested up to:** Tested with WordPress 6.6.

= Version 1.0.2 | 20 August 2024 =

* **Fixed:** Minor bug fixes.

= Version 1.0.1 | 07 August 2024 =

* **Added:** Service provider details to the README file for easier access.
* **Fixed:** Resolved security issues by adding escaping functions in all necessary places.
* **Improved:** Code improvements for better performance and maintainability.

= Version 1.0.0 | 02 July 2024 =

* **New:** Initial Plugin Release