Home Plugins translateml
TranslateML logo

TranslateML

by Magazine3 on WordPress.org

A lightweight WordPress plugin for frontend content translation with caching. Powered by TranslateML API.

(0)
screenshot-1.png

screenshot-1.png

TranslateML is a powerful yet lightweight WordPress plugin designed to provide seamless frontend content translation. The plugin uses the TranslateML API to translate text and leverages caching to deliver high performance.

Key Features:

  • Automatic Translation: Translates frontend content dynamically using TranslateML API.
  • Caching: Optimized caching for faster translation delivery.
  • Language Switcher: Easily switch between multiple languages on your site.
  • Customizable URLs: Adds a two-digit language code to URLs for SEO-friendly language versions.
  • Default Language: Falls back to the default language (English) if a translation is unavailable.

How It Works:

  1. Captures the output buffer of the page.
  2. Sends the content to TranslateML API for translation.
  3. Replaces the content with the translated version or uses the default language if no translation exists.
  4. Translations are cached for enhanced performance.

Performance Note:

TranslateML activates its translation buffer only when a non-default language is requested and a valid API key is configured. However, this may introduce performance overhead in certain environments — especially on high-traffic sites or pages with large content.

Scenarios to watch:

  • Remote API calls on every translated page request (if not cached)
  • Incompatibility with server-side full-page caching (e.g., Varnish, NGINX)
  • Large dynamic pages without caching may slow down noticeably

Bug Reports

Bug reports for TranslateML are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.

External Services

This plugin relies on the following third-party service:

TranslateML.com API

TranslateML plugin connects to TranslateML.com API to translate the contents. It sends the user’s site url , language source and language target to perform translation. No personally identifiable information (PII) is collected or transmitted.

This API service is provided by the developer of the plugin : Terms of Service , Privacy Policy

Active installations0+
Weekly downloads
23+76.92%
Version1.0.1
Last updated6/17/2025
WordPress version
Tested up to6.8.1
Tags
cachingfrontend translationlanguage switchermultilingualtranslation