Linguator OpenAI Compatibility
External OpenAI-compatible provider addon for LinguatorAI / Linguator Multilingual AI Translation. Adds support for OpenAI, OpenRouter, Groq, DeepSeek, DeepInfra, and custom OpenAI-compatible APIs without modifying the main plugin.
by Julian Johari · github.com/silvalian0410/openai-compatibility-plugin-for-linguatorai · website
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/silvalian0410/openai-compatibility-plugin-for-linguatorai/archive/refs/heads/main.zipExternal OpenAI-compatible provider addon for Linguator Multilingual AI Translation.
Developed by Julian Johari
LinkedIn: Julian Johari
Overview
Linguator OpenAI Compatibility extends Linguator Multilingual AI Translation with OpenAI-compatible translation providers without editing the main plugin source code.
This keeps the main Linguator plugin update-safe while adding support for OpenAI-style chat completion APIs.
External Plugin For
Main plugin repository:
https://github.com/CoolPluginsTeam/linguator-multilingual-ai-translation
This addon requires the main Linguator Multilingual AI Translation plugin to be installed and active.
Supported Providers
- OpenAI
- OpenRouter
- Groq
- DeepSeek
- DeepInfra
- Custom OpenAI-compatible API URL
Custom providers should support OpenAI-style /v1/chat/completions requests.
Features
- External addon architecture; no direct modification to the main plugin.
- Adds OpenAI-compatible API settings inside Linguator translation settings.
- Stores provider API keys per provider.
- Loads available models from compatible
/modelsendpoints. - Supports manual model entry for custom endpoints.
- Adds runtime OpenAI-compatible provider support to Linguator translation flows.
- Supports prompt and response debug logging.
- Logs original text, translated text, prompt lines, parsed translations, and raw AI responses.
Requirements
- WordPress 6.2 or newer
- PHP 7.2 or newer
- Linguator Multilingual AI Translation installed and active
- A valid API key for the selected provider
- A compatible text/chat model
Installation
- Install and activate Linguator Multilingual AI Translation.
- Upload this addon folder to
wp-content/plugins/. - Activate Linguator OpenAI Compatibility in WordPress Admin > Plugins.
- Go to Linguator > Settings > Translation.
- Enable OpenAI-compatible API.
- Select a provider.
- Enter the API key.
- Select or manually enter a model.
- Save the settings.
Debug Log
Debug logs are written to:
wp-content/plugins/linguator-openai-compability/logs/openai-debug.log
The log includes:
- Request start time
- Provider and model
- API endpoint
- Full prompt metadata
- System prompt
- User prompt
- Original strings
- Raw API response
- Extracted AI response
- Parsed translations
- Original-to-translated mapping
Developer
Developed by Julian Johari.
LinkedIn: https://www.linkedin.com/in/julian-johari-b72720262/
License
GPLv2 or later.