
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:
- Captures the output buffer of the page.
 - Sends the content to TranslateML API for translation.
 - Replaces the content with the translated version or uses the default language if no translation exists.
 - 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