AI Translate For Polylang

Description

Add auto AI translation caperbility to Polylang using OpenAI/ChatGPT or Anthropic/Claude.

This plugin connects to OpenAI/ChatGPT (api.openai.com) or Anthropic/Claude (api.anthropic.com) 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 OpenAI or Anthropic 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

23. Oktobar 2024.
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!
28. Septembar 2024.
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.
31. August 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 3 reviews

Contributors & Developers

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

Contributors

Changelog

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