Title: AI Translate For Polylang
Author: jamesdlow
Published: <strong>August 1, 2024</strong>
Last modified: September 17, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/ai-translate-for-polylang.svg)

# AI Translate For Polylang

 By [jamesdlow](https://profiles.wordpress.org/jamesdlow/)

[Download](https://downloads.wordpress.org/plugin/ai-translate-for-polylang.zip)

 * [Details](https://frp.wordpress.org/plugins/ai-translate-for-polylang/#description)
 * [Reviews](https://frp.wordpress.org/plugins/ai-translate-for-polylang/#reviews)
 *  [Installation](https://frp.wordpress.org/plugins/ai-translate-for-polylang/#installation)
 * [Development](https://frp.wordpress.org/plugins/ai-translate-for-polylang/#developers)

 [Support](https://wordpress.org/support/plugin/ai-translate-for-polylang/)

## Description

Add auto AI translation caperbility to Polylang using OpenAI/ChatGPT, Anthropic/
Claude, Google/Gemini or OpenRouter.

This plugin connects to OpenAI/ChatGPT (api.openai.com), Anthropic/Claude (api.anthropic.
com), Google/Gemini (generativelanguage.googleapis.com) or OpenRouter (openrouter.
ai) in PHP from the WordPress admin in order to faciliate the translations. When
a WordPress author has the plugin activated, has entered their OpenAI API key in
the settings, and clicks new translation from Polylang, the plugin will send the
post title and post content to the selected service for tranlsation.

## Installation

This section describes how to install the plugin and get it working.

 1. If not already installed, install and activate the Polylang plugin https://www.
    wordpress.org/plugins/polylang/
 2. Upload entire `ai-translate-polylang` folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Edit AI Translate settings at Languages -> AI Translate
 5. Click the translate button on a post or page

## Reviews

![](https://secure.gravatar.com/avatar/57ab4c4ca4602aa2b5c967d077b357a20c50a82d9d164dc5503373f8c7af4748?
s=60&d=retro&r=g)

### 󠀁[Love it](https://wordpress.org/support/topic/love-it-4357/)󠁿

 [thomask](https://profiles.wordpress.org/thomask/) March 29, 2026

Very simple, no extra functionality, but it works as charm and it is free.Bulk translation
would be great, but for my current project i love it this way.

![](https://secure.gravatar.com/avatar/9cde5146ad9c8fd9ba97dbe646ccf5001fab6f756fa2798f7fd5dae54aa6c6b5?
s=60&d=retro&r=g)

### 󠀁[Nice start, needs more work, great potential](https://wordpress.org/support/topic/nice-start-needs-more-work-great-potential/)󠁿

 [Fabio](https://profiles.wordpress.org/fabiomb/) June 17, 2025 1 reply

I was trying to use this plugin, it works, but has zero usability in mind It only
translates when you create a new post/page or content, but does not edit or gives
you the option to "translate again", so if you edit the original content, you can't
use it to translate again. This is probably easy to adapt, but there's no github
for the code so I can't help with my own code (sorry, i'll never use SVN again 😁)
The concept is fine, it can grow adding more buttons/actions for the user so he 
can choose when to translate and from/to whatever the user wants, then the LLM does
the work. Other issue: the limitation of models, there's a lot of new models to 
use but the plugin limits them with a narrow options, example: I use Gemini Flash
2.5, but the selector only gives me the 2.0 option.

![](https://secure.gravatar.com/avatar/caa7809384c21146eb1870f0dfa417943e92b804ca484b9336c207a7c78538d0?
s=60&d=retro&r=g)

### 󠀁[Good plugin but…](https://wordpress.org/support/topic/good-plugin-but-112/)󠁿

 [jeanleferge](https://profiles.wordpress.org/jeanleferge/) May 5, 2025

The plugin is great and works really well. However, it would be even better with
integration for SEO plugins like SEOPress or Rank Math.

![](https://secure.gravatar.com/avatar/cc8143c24f7e47c05474a744c98b0284e102002ec260822576697486f87022e8?
s=60&d=retro&r=g)

### 󠀁[Nice ideea](https://wordpress.org/support/topic/nice-ideea/)󠁿

 [Radovan](https://profiles.wordpress.org/radovand/) October 23, 2024 1 reply

The plugin is a very good idea. It works reasonably well for translating articles
and simple pages, but for complex ones with lots of shortcodes, it doesn't work.
I made a similar one myself, but ran into the same problems. Good luck if you thought
of improving the plugin!

![](https://secure.gravatar.com/avatar/1e0b4b2ae2dcc65e7f1deae36a69bf8e86247ed1ff637365c94bca3219edb992?
s=60&d=retro&r=g)

### 󠀁[Great job!](https://wordpress.org/support/topic/great-job-1357/)󠁿

 [yurann2000](https://profiles.wordpress.org/yurann2000/) September 28, 2024 1 reply

First of all, I want to thank you for the great plugin! It works excellently, and
I'm really satisfied with its functionality. However, I have a feature request that
would be incredibly helpful for my use case. Currently, when sending long requests
to ChatGPT, I run into limitations where the response exceeds the token limits. 
As a result, I only receive about 20-30% of the page's content due to the response
being cut off. Would it be possible to add a feature that allows splitting the response
into multiple parts? This way, I could handle longer outputs more effectively without
losing valuable content. Thank you so much for considering this! It would make a
huge difference in ensuring that I can use the plugin to its fullest potential.

![](https://secure.gravatar.com/avatar/7343e520dfff85d95d08fe5c7c5e649460f69265adef9fc07acefb69d7c17643?
s=60&d=retro&r=g)

### 󠀁[good plugin](https://wordpress.org/support/topic/good-plugin-6925/)󠁿

 [anonymous](https://profiles.wordpress.org/idanisur/) August 31, 2024 1 reply

good for single article translation. please add bulk translating features. i have
websites with 800+ articles i want to translate to 20 more languages. so translating
one by one is not possible .

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/)

## Contributors & Developers

“AI Translate For Polylang” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ jamesdlow ](https://profiles.wordpress.org/jamesdlow/)

[Translate “AI Translate For Polylang” into your language.](https://translate.wordpress.org/projects/wp-plugins/ai-translate-for-polylang)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ai-translate-for-polylang/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ai-translate-for-polylang/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ai-translate-for-polylang/)
by [RSS](https://plugins.trac.wordpress.org/log/ai-translate-for-polylang/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.9

 * Translate titles with their own prompt. A body prompt makes models expand a bare
   headline into a whole article, which then got saved as the post title
 * Validate every translation before saving it: reject html or multi-line output
   in a title, reasoning the model leaked instead of an answer, and content far 
   shorter than its source
 * Never save a failed translation. translate_post() now keeps the source text and
   holds the post as a draft instead of publishing the API error message
 * Handle WP_Error responses, error envelopes returned with HTTP 200, truncated 
   responses, and providers that return content in parts
 * Skip thinking blocks in Claude and Gemini responses, and ask OpenRouter to exclude
   reasoning
 * Size max_tokens to the input instead of a fixed 5000, so long posts stop being
   truncated
 * Retry once before giving up

#### 1.1.8

 * Add OpenRouter support

#### 1.1.7

Rename Setting

#### 1.1.6

 * Remove dependency on openai library, and use custom implementation

#### 1.1.5

 * Fixes for PHP 8 warnings
 * Hook for excerpt translation
 * Change prompt to text box

#### 1.1.4

 * Bugfix when retrieving Gemini key

#### 1.1.3

 * Make default Gemini model gemini-2.5-flash

#### 1.1.2

 * Change AI model to text string, so you can choose your own model
 * Fix internal translate function for scripting
 * Add option to overwrite on internal translate function

#### 1.1.1

 * Add Google Gemini support

#### 1.1.0

 * Set post language on new post before trying to translate

#### 1.0.9

 * Fix PHP 8.X warning

#### 1.0.8

 * Correctly set author in translated post

#### 1.0.7

 * Copy author and dates when translating post

#### 1.0.6

 * Add helper function for programmatic translation in PHP

#### 1.0.5

 * Edit prompt to make sure only the new content is returned

#### 1.0.4

 * Use PageApp for SettingsLib if avaliable

#### 1.0.3

 * Add Claude API
 * Add options to translate or clear out prior meta

#### 1.0.2

 * Futher updates for WordPress plugin standards

#### 1.0.1

 * Updates for WordPress plugin standards

#### 1.0.0

 * Initital version

## Meta

 *  Version **1.1.9**
 *  Last updated **3 weeks ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **7.1.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/ai-translate-for-polylang/)
 * Tags
 * [language](https://frp.wordpress.org/plugins/tags/language/)[multilingual](https://frp.wordpress.org/plugins/tags/multilingual/)
   [polylang](https://frp.wordpress.org/plugins/tags/polylang/)[translate](https://frp.wordpress.org/plugins/tags/translate/)
   [translation](https://frp.wordpress.org/plugins/tags/translation/)
 *  [Advanced View](https://frp.wordpress.org/plugins/ai-translate-for-polylang/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ai-translate-for-polylang/reviews/)

## Contributors

 *   [ jamesdlow ](https://profiles.wordpress.org/jamesdlow/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/ai-translate-for-polylang/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=K6VKWB3HZB2T2&item_name=Donation&currency_code=USD&bn=PP%2dDonationsBF)