AI Translator for WPML
An automated translation tool that connects WPML with OpenAI’s GPT and Gemini models to generate high-quality multilingual content directly inside WordPress.
by AliABZ · github.com/ali-abdollahzadeh/wpml-ai-translation-tool
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ali-abdollahzadeh/wpml-ai-translation-tool/archive/refs/heads/main.zipWPML GPT Translator
A lightweight tool that connects WPML with OpenAI GPT models to automate multilingual content creation inside WordPress.
It sends text to GPT, receives high-quality translations, and updates WPML fields automatically.
Features
- Automated translation using OpenAI GPT models
- Works with WPML content (posts, pages, custom fields)
- Faster workflow for multilingual websites
- Improves translation consistency
- Easy to configure and extend
Requirements
- WordPress with WPML installed
- OpenAI API key
- PHP 7.4+
Installation
- Download the project files.
- Place the folder inside the
/wp-content/plugins/directory. - Activate the plugin from WordPress → Plugins.
- Add your OpenAI API key in the plugin settings.
Usage
- Select the content you want to translate.
- Choose the target language in WPML.
- The tool sends the text to GPT and returns translations automatically.
Configuration
You can configure:
- Source and target languages
- Model version
- Translation prompt style
- Fields to translate
Roadmap
- Batch translation support
- Custom prompts per language
- Support for WooCommerce product fields
- Logging and usage statistics
License
MIT License
Feel free to modify and adapt the project.