Weglot translates your posts into the visitor's language on the fly. TTSWP detects the visitor's selected language and generates audio in that language.
Requirements
- Weglot 3.0 or newer
- At least one destination language enabled in Weglot
- TTSWP connected to your site
Turn it on
- Go to Text to Speech → Overview.
- Scroll to Quick Settings.
- Flip Weglot integration to on.
- Save.
If Weglot is not installed, this toggle is locked and shows "Weglot not detected".
Map voices to languages
The Text to Speech → Language Voice Mapping page lets you assign a voice per language. See Language Voice Mapping.
How generation works
Unlike WPML (where each translated post is a separate post), Weglot translations are on-the-fly. The flow:
- A visitor views your site in Spanish
- They click Play on the audio player
- TTSWP reads the visitor's language from Weglot
- If audio for that language already exists, it plays
- If not, the plugin generates audio in Spanish using the Spanish-mapped voice
First-time generation in a new language uses credits. After that, it plays from cache.
Credit use
Every language you support uses credits the first time audio is generated in that language for each post. A single post could end up using credits equal to its character count times the number of languages enabled.
Tip: use the Audio Library to check total storage and spend.
Pre-generating all languages
On Pro and Agency plans, the Bulk Generate action can pre-render audio in every enabled Weglot language so visitors never wait. See Bulk audio generation.