TranslatePress translates content on the fly, similar to Weglot. TTSWP detects the visitor's language from TranslatePress and generates audio in that language.
Requirements
- TranslatePress 2.0 or newer
- At least one secondary language configured
- TTSWP connected
How it works
Integration is automatic. When a visitor plays audio on a post being viewed in a secondary language:
- TranslatePress tells TTSWP which language the visitor has selected
- TTSWP checks if audio exists in that language
- If yes, plays it. If no, generates and caches it, then plays.
Voice mapping
The Text to Speech → Language Voice Mapping page shows every TranslatePress language. Map each to a voice. See Language Voice Mapping.
Automatic vs. manual translation modes
TranslatePress supports automatic translation (via Google Translate or DeepL) and manual translation. TTSWP works with both. In automatic mode, the plugin reads the translated text directly from TranslatePress's cache before sending to ElevenLabs.