Opis
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.
Instalacja
This section describes how to install the plugin and get it working.
- If not already installed, install and activate the Polylang plugin https://www.wordpress.org/plugins/polylang/
- Upload entire
ai-translate-polylangfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins’ menu in WordPress
- Edit AI Translate settings at Languages -> AI Translate
- Click the translate button on a post or page
Recenzje
Kontrybutorzy i deweloperzy
„AI Translate For Polylang” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “AI Translate For Polylang” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
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