=== AutoMLP – AI Translation for WPML ===
Contributors: coolplugins, narinder-singh, satindersingh
Donate link: https://donate.stripe.com/5kQdR92iBevO75WbPm6c00i
Tags: WPML, Automatic Translation, WPML Addon, Block Translation
Tested up to: 7.0
Stable tag: 1.2.6
Requires at least: 6.9
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Save on WPML translation credits by using OpenAI or Gemini API to auto translate posts, pages or strings in bulk using AutoMLP AI Translator for WPML.

== Description ==

https://youtu.be/ZcSbNup4efw

**AutoMLP - AI Translation for WPML** is WPML automatic translation addon. It allows you to translate your WordPress website using different AI services  like **OpenAI** and **Google Gemini**, at low cost.

As a **WPML** user, you may already know that its automatic translation feature works using translation credits. Typically, around **$0.86 per 1,000 credits**. Each time content is translated automatically, credits are used based on the number of characters being translated [Learn More](https://coolplugins.net/wpml-translation-cost-alternative/?utm_source=automlp_plugin&utm_medium=readme&utm_campaign=credits&utm_content=learn_more).

However, **AutoMLP** provides a different approach. Instead of using translation credits, it allows you to connect your own AI service API keys such as **OpenAI** or **Google Gemini**. This means translations are generated using your own API. The usage limits depend only on the limits of the API service you are using.

[View Live Demo](https://automlp-ai-translation.instawp.xyz/wp-admin)

### Key Features

* **AI Translations:** Translate posts, pages, and other website content using AI services like OpenAI and Google Gemini.

* **String Translation:** Translate theme and plugin texts such as buttons, labels, and interface messages using the string translation system of WPML via AI.

* **Accurate Translation:** Integrated with advance translators that are trained on large language datasets to produce more natural and accurate translations as compared to WPML automatic translation feature. 

* **OpenAI Translator:** AutoMLP integrates AI models from OpenAI through API key to translate your website content with high accuracy and natural language quality. 

* **Gemini AI Translator:** Integrated Google Gemini AI to translate website content quickly and efficiently. Simply connect your Google Gemini API key to generate fast AI-powered translations across multiple languages.

* **Speed Efficent:** AI translation can process large amounts of content in seconds, helping you translate 10,000+ Characters in Seconds.

* **Cost Effective:** Reduce translation costs by connecting your own AI services like OpenAI or Google Gemini. Pay only for the API usage you need instead of expensive translation credits.

* **WPML Integration:** Works seamlessly with WPML to build and manage multilingual WordPress site.

* Lightweight & Easy to Use.

* Fully Responsive.

### Generate API Keys
👉 Get your OpenAI API key here: [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys)
👉 Get your Gemini AI API key here: [https://aistudio.google.com/app/apikey](https://aistudio.google.com/app/apikey)

⚠️ **Important Notice**: **AutoMLP** is an addon for **WPML** and requires the **WPML Multilingual CMS** plugin along with the **WPML String Translation** addon to work properly. This plugin will not function without WPML installed and activated on your WordPress website.

Learn more about setup and usage in the [documentation](https://docs.coolplugins.net/plugin/ai-translation-for-wpml/?utm_source=automlp_plugin&utm_medium=readme&utm_campaign=docs&utm_content=learn_more).

Built for **Stability** & **Performance** developers trust **WPML** with their most important data. **AutoMLP** is built to respect that.

* **Native Integration:** We use official WPML hooks and APIs. We don't modify your core translation tables.

* **Database Friendly:** AutoMLP is lightweight. It only runs during the translation process and adds zero bloat to your site's front-end performance.

* **Data Privacy:** Your API keys are encrypted and stored locally on your server. Your content is sent directly to OpenAI or Google. We never see, store, or intercept your data.

* **Reliability:** Built-in error handling manages API rate limits and connection timeouts gracefully, ensuring your translation jobs don't hang.

### ### Pro Version 
 * **Unlimited Languages Support:** Translate your website into unlimited languages and reach global audience without any usage restrictions.

 * **Chrome built-in AI Integration:** Instantly translate content directly inside browser using Chrome’s built-in AI translator without any API key or external cost.

[Upgrade to Pro!](https://coolplugins.net/product/automlp-ai-translation-for-wpml/?utm_source=automlp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=upgrade_to_pro)

### Check Out Our Other Automatic Translation Addons

* **[LocoAI – Auto Translate for Loco Translate](https://locoaddon.com/?utm_source=automlp_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 built-in AI to provide instant and automated translations.

* **[AutoPoly – AI Translation For Polylang](https://coolplugins.net/product/automatic-translations-for-polylang/?utm_source=automlp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=atfp_check_out)** duplicates your Elementor, Gutenberg, and Divi page or post titles, content, images, galleries, or meta fields, and automatically translates them into the selected language via AI. 

* **[AI Translation for TranslatePress](https://coolplugins.net/product/automatic-translate-addon-for-translatepress-pro/?utm_source=automlp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=tpa_check_out)** is a powerful AI addon for the TranslatePress plugin. Integrated with AI translation services, like Google Translate, Yandex, and Chrome built-in AI translator, it provides accurate and instant translations for your web pages.

* **[Linguator AI – Auto Translate & Create Multilingual Sites](https://linguator.com/?utm_source=automlp_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=lmat_check_out)** is a powerful multilingual plugin that helps you create and manage all-in-one multilingual WordPress website. Translate your posts, pages, menus, categories, and more into different languages using AI.

### Special Thanks!
A special thanks to the authors of the [WPML](https://wpml.org/) plugin for creating an outstanding tool for multilingual WordPress website management.
All automatic translations are powered by third-party auto-translate providers (OpenAI and Gemini AI), so we don't guarantee 100% correctness. Please check all translated text carefully before making it live on your production site.

### Important Links & Information
- **OpenAI Privacy Policy:**
[https://openai.com/policies/row-privacy-policy/](https://openai.com/policies/row-privacy-policy/)

- **OpenAI Terms of Use:**
[https://openai.com/policies/row-terms-of-use/](https://openai.com/policies/row-terms-of-use/)

- **Google Gemini Privacy Policy:**
[https://safety.google/intl/en_in/products/gemini/](https://safety.google/intl/en_in/products/gemini/)

- **Google Gemini API Terms:**
[https://ai.google.dev/gemini-api/terms](https://ai.google.dev/gemini-api/terms)

**Third-Party Services:** To improve user experience this plugin offers optional usage tracking and optional feedback submission on deactivation. Data is sent only after explicit user consent. No hidden tracking is performed, and no frontend visitor or site user data is collected. For more details, please review our [Data Usage Policy](https://my.coolplugins.net/terms/usage-tracking/), [TOS](https://my.coolplugins.net/terms/), and [Privacy Policy](https://my.coolplugins.net/terms/privacy-policy/).
[AutoMLP – AI Translation for WPML on GitHub.](https://github.com/CoolPluginsTeam/wpml-translation-check)

== Screenshots == 
1. AutoMLP Page Translation
2. AutoMLP String Translation

== Installation ==
- Navigate to the Plugins section.
- Search for the "**AutoMLP - AI Translation for WPML**"  plugin. 
Make sure that you have installed and activated **WPML Multilingual CMS** and **WPML String Translation** plugin.
- Install **AutoMLP**.
- Once the plugin is installed, activate it.
- That's it! **AutoMLP** is now installed and activated.
Now you can start translating pages/posts or strings via **Gemini AI**, **OpenAI** and **Chrome built-in AI**.

== Frequently Asked Questions ==

= Do I need WPML to use AutoMLP? =
Yes. AutoMLP is automatic translation addon for WPML, so both WPML Multilingual CMS and WPML String Translation must be installed and activated on your WordPress website before using this plugin.

= Which AI translation engines are supported? =
AutoMLP supports the following AI translation engines:

* **Chrome Built-in AI** – Free, runs locally in your browser, no API key required
* **OpenAI** – API-based, provides highly accurate and context-aware translations
* **Gemini AI** – API-based, fast and efficient with strong contextual understanding


= Does AutoMLP support string translation? =
Yes. AutoMLP supports string translation, which means you can translate texts from themes and plugins such as buttons, labels, and interface messages.

= How can I translate plugin or theme strings using WPML AI? =
AutoMLP is an AI automatic translation addon for WPML that allows you to translate theme and plugin strings using AI instead of translating them manually. It works with the WPML String Translation system and uses AI services like OpenAI, Google Gemini and Chrome built-in AI to generate translations quickly.

= How does Chrome Built-in AI translation work in AutoMLP? =
Chrome Built-in AI uses your browser’s on-device translation capabilities to translate content locally. This means your data stays private, and you don’t need any external API or paid service to translate your website.

= Is AI translation accurate enough for websites? =
AI translation is highly accurate and context-aware, but it is recommended to review translations before publishing them on a live website.

= What type of content can I translate using WPML AI addon? =
Using AutoMLP, you can translate pages, posts or theme's or plugin's strings automatically.

= Do I need API keys to use AutoMLP? =
API keys are only required if you choose OpenAI or Gemini AI as your translation engine. If you use Chrome Built-in AI, no API key is needed.

= What happens if my WPML translation credits run out? =
If WPML translation credits are exhausted, automatic translations stop working.
With AutoMLP, translations depend on your AI API usage limits instead of a credit system. You can also use Chrome’s built-in AI to generate translations without any API key or extra cost.

= Can I translate multiple pages at once using AutoMLP? =
Yes, AutoMLP allows bulk translation. You can select multiple pages from your WordPress dashboard and translate them into your desired language with just one click.

= How is AutoMLP different from WPML automatic translation? =
AutoMLP does not rely on translation credits. Instead, it lets you connect your own AI services like OpenAI, Google Gemini using your own API usage limits.
If you want to translate without using any API key or extra cost, you can use the Pro version, which supports Chrome built-in AI.

= How fast is AI translation with AutoMLP? =
AI translation can process thousands of characters in seconds. This allows you to translate large pages or multiple posts much faster than manual translation.

= How does AutoMLP compare to WPML automatic translation credits in cost and performance? =
Here is a simple comparison between WPML automatic credits and AutoMLP:
| Feature | WPML Credits | AutoMLP |
| :--- | :--- | :--- |
| **Cost (1M chars)** | About ~$195 – ~$200 | **~$0.19 (OpenAI) / ~$0.125 (Gemini)** / **Zero cost (Chrome built-in AI)** |
| **Model Choice** | Fixed | **GPT-4o-mini, gemini-2.5-flash-lite, Chrome built-in AI** |
| **Speed** | Standard | **Instant (High-limit APIs)** |
| **Control** | Middleman Managed | **Direct API Billing / Zero cost for Chrome AI** | 

= How can I clear WPML cache? =
Follow the steps below to clear WPML cache:
1. Go to your WordPress dashboard.
2. Navigate to **WPML** > **Support**.
3. Scroll down to the Troubleshooting section.
4. Click on the **“Troubleshooting”** link.
5. On the troubleshooting page, find and click:
   - Clear the cache in WPML.
   - Remove ghost entries from translation tables (optional).
   - Fix element_type collation (optional).
After clearing the cache, refresh your website.

= How do I translate media metadata in WPML? =
To translate media details like alt text, title, and caption:
1. Go to **WPML** > **Media Translation**.
2. Click the edit icon next to the image.
3. Enter translated title, alt text, and description.
4. Click Save.
Your translated media details will be applied to the selected language.

= Do I need coding knowledge to use this plugin? =
No. AutoMLP works inside the WordPress dashboard and uses the familiar WPML translation workflow, so no coding knowledge is required.

= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage, and handle any security vulnerabilities [Report a security vulnerability](https://patchstack.com/database/vdp/wpml-translation-check/).

== Changelog ==

= Version 1.2.6 | 16/06/2026 =
* Improved: Cleaned up the notice registration logic for better readability.

= Version 1.2.5 | 09/06/2026 =
* Improved: Code Improvements.

= Version 1.2.4 | 07/04/2026 =
* Improved:- Admin dashboard ui.

= Version 1.2.3 | 06/04/2026 =
* Added:- Introduced a Post Status configuration setting.

= Version 1.2.2 | 30/03/2026 =
* Added:- Wpml language configuration check.

= Version 1.2.1 | 26/03/2026 =
* Improved:- Review notice styling.
* Improved:- Translation Popup styling.

= Version 1.2.0 (Major Update) | 20/03/2026 =
* Introduced:- AutoMLP - AI Translation For WPML.
* Added:- Full compatibility with WPML Multilingual CMS.
* Added:- Automatic AI translation for all WordPress posts, pages, and custom types.
* Added:- AI-powered translation for theme and plugin strings and labels.
* Added:- Direct API connection to bypass high-cost translation credit systems.
* Removed:- WPML Translation check code.
* Migration:- WPML Translation Check is transitioning to our new *AutoMLP** AI Translation For WPML.

= Version 1.1.2 =
* Add slug

= Version 1.1.1 =
* Small style/usability changes

= Version 1.1 =
* After first check, subsequent checks trigger a page load to retrieve latest content

= Version 1.0.2 =
* Better WPML plugin detection

= Version 1.0.1 =
* Fix WPML plugin detection

= Version 1.0 =
* Initial version.
== Upgrade Notice ==
= 1.2.0 =
WPML Translation Check  is transitioning to our new *AutoMLP** AI Translation For WPML.
WPML Translation Check is now under new ownership by [Cool Plugins](https://profiles.wordpress.org/coolplugins/) and is actively maintained.