
Adds automated translation capabilities directly into the PolyLang string translation interface using AI.
Pelikan Translator for Polylang streamlines your localization workflow by integrating automated translation seamlessly into the Polylang strings translation interface. By utilizing the OpenRouter API, you can instantly translate your site strings with a single click.
Features:
* Seamless integration with the Polylang Strings translation dashboard.
* One-click translation buttons next to each configured language input.
* Customizable OpenRouter model selection.
* Automatically maps and identifies your active Polylang languages dynamically.
???? Why OpenRouter?
OpenRouter is an aggregator that offers significant benefits for WordPress users:
Cheaper: Many high-quality translation models are incredibly affordable.
Flexible: Switch models instantly. If a new model is released tomorrow, you can simply paste its ID and use it immediately.
No Middleman: You use your own API key.
External Services
This plugin relies on OpenRouter as a third-party service to provide automated translation capabilities.
Service Name: OpenRouter
Service URL: https://openrouter.ai/
Terms of Service: OpenRouter Terms https://openrouter.ai/terms
Privacy Policy: OpenRouter Privacy Policy https://openrouter.ai/privacy
Note: You must obtain your own API key from OpenRouter to use this plugin.
Screenshots
FAQ
What AI engines are supported?
The plugin supports 23 chat/text-generation engines including OpenRouter, OpenAI Direct, Google Gemini Direct, Cohere, Groq, Mistral AI, xAI (Grok), Together AI, Fireworks AI, NVIDIA NIM, Alibaba Cloud Model Studio, Cloudflare Workers AI, regional providers, and Custom OpenAI-Compatible / Self-Hosted Ollama endpoints.
Will switching engines erase my saved API keys?
No. Credentials and model selections are stored per provider, so you can switch between engines without re-entering keys.
Does this translate my posts and pages automatically?
No. Currently, this plugin focuses exclusively on the “Strings translations” section of Polylang, allowing you to quickly localize common theme strings, widget texts, and plugin options.
ChangeLog
1.1.0
- Added multi-engine AI provider support (23 chat/text-generation providers including OpenRouter, OpenAI Direct, Google Gemini Direct, Groq, Mistral, xAI, Cloudflare Workers AI, and Custom OpenAI-Compatible / Self-Hosted Ollama).
- Added per-provider API key, model, and endpoint configuration storage.
- Added server-side live model fetching, curated model presets, and free-text custom model ID input.
- Bumped plugin version to 1.1.0.
1.0.5
- Fixed “No source text found” error by ensuring full compatibility with primary column table header tags (th.column-string).
- Cleaned extracted source text by stripping WordPress table actions and toggle buttons.
- Enhanced language code and slug matching dynamically across all Polylang versions.
- Bumped plugin version to 1.0.5.
1.0.4
- Verified compatibility with WordPress 7.1.0 and updated Tested up to header.
- Bumped plugin version to 1.0.4.
1.0.3
- Hardened AJAX translation pipeline against JSON decoding warning/notice vectors.
- Added fallback default Gemini model logic when configuration values are missing.
- Added dismissible dashboard notices for missing Polylang plugin and unconfigured API keys.
- Enhanced admin.js to safely check for localization payload parameters and prevent crashes on other dashboard pages.
- Cleaned up unused site name parsing logic on core scripts enqueuing.
1.0.2
- Securely routed translation API requests through server-side WordPress AJAX.
- Added missing License URI header to comply with WordPress.org guidelines.
- Added uninstall.php to clean up database options on plugin deletion.
- Initialized documentation structure.
1.0.1
- Bumped version to 1.0.1.
- Tested up to WordPress 7.0.
- Removed unneeded references and updated documentation.
- General code cleanup and stability improvements.
1.0.0