Polyglot Translate Connector plugs the Polyglot Translate cloud into the brand-new WordPress 7.0 Connectors API — the same screen where you configure Anthropic, OpenAI, and Google. One API key, securely stored, available to every plugin on your site that needs translation.
WordPress 7.0 introduced a native way for plugins to share credentials for external services. Instead of every translation-aware plugin shipping its own settings page and asking you to paste the same key over and over, this connector lets you set it once in Settings Connectors and have it just work everywhere.
Polyglot is not “another machine translation API.” It’s a translation memory that learns from every edit anyone makes on your site or across the network. Translations get better the more they’re used — the system remembers good phrasings, learns your terminology, and progressively replaces machine output with verified high-quality results. You pay per character, not per call, and your translation memory belongs to you (cancel anytime — your data stays).
translation-type connector in the WordPress 7.0 Connectors registry.polyglot_get_api_key(), polyglot_is_connected(), polyglot_get_api_base_url(), etc.) that any other plugin on your site can use to consume Polyglot transparently.If you’re building a WordPress plugin (AI content generator, SEO tool, WooCommerce extension, multilingual workflow…) and you want to use Polyglot Cloud as your translation backend, you no longer need to ship your own settings UI or ask users for an API key. This connector handles credential discovery:
if ( function_exists( 'polyglot_is_connected' ) && polyglot_is_connected() ) {
$api_key = polyglot_get_api_key();
$base_url = polyglot_get_api_base_url();
// Make REST calls against $base_url/v1/translate, etc.
}
For higher-level conveniences (batching, retry policy, response DTOs), an official polyglot/wp-sdk Composer package is planned as a separate library that wraps this connector. Until released, consume the Polyglot Cloud REST API directly using the helpers above.
Highest to lowest:
POLYGLOT_TRANSLATE_API_KEY environment variable (set in your hosting panel)POLYGLOT_TRANSLATE_API_KEY PHP constant (defined in wp-config.php)If you operate a self-hosted Polyglot deployment, a reverse-proxy gateway (Cloudflare Workers, AWS Lambda…), or a staging environment, you can override the API base URL via Settings Polyglot Translate. HTTPS-only.