ResponsiveVoice language voices
Afrikaanse teks na spraak
ResponsiveVoice makes it straightforward to add Afrikaans text to speech to websites, apps, e-learning and accessibility experiences using browser playback or server-side audio generation.
Loading ResponsiveVoice…
Available voices
Afrikaans voices for websites and apps
Use a friendly ResponsiveVoice voice name such as Afrikaans Male, or select by BCP-47 language code with { lang: 'af' }. The browser SDK uses native speech where it fits and falls back to ResponsiveVoice server audio when a closer voice is needed.
| Voice name | Language code | How to select it |
|---|---|---|
| Afrikaans Male | af | Use by exact name, pattern, or language query. |
One-line browser setup
Add Afrikaans speech with JavaScript
<script src="https://cdn.responsivevoice.org/sdk/latest/responsivevoice.js"></script>
<script>
responsiveVoice.init({ apiKey: 'YOUR_API_KEY' });
responsiveVoice.speak("Voeg Afrikaanse teks-na-spraak by jou webwerf of toepassing.", "Afrikaans Male");
</script>
For a first demo you can initialize without an API key and use the device voice. Register and verify your website domain to unlock the full voice catalog. For backend audio generation, use the REST API with your API key and secret.
The listening experience
Give Afrikaans readers a page they can hear
The ResponsiveVoice web player can narrate article content with paragraph-level highlighting, click-to-jump reading, speed controls, and a sticky mini-player after the controls scroll away. Set the player voice to Afrikaans Male for a page-level Afrikaans listening experience.
- Paragraph highlighting
- Voice override per page
- 0.5x to 3x speed cycle
- Skip non-readable elements
Use cases
Where Afrikaans text to speech helps
Accessibility
Let visitors listen to page content, instructions and support flows when reading is difficult or inconvenient.
Learning
Support language learning, pronunciation practice and e-learning narration with a voice selected for this page.
Apps and product UX
Speak confirmations, alerts, onboarding steps and generated content from the browser or your backend.
FAQ
Afrikaans text to speech questions
Which Afrikaans voice should I use?
Start with Afrikaans Male. If your app needs another tone or gender, test the other listed ResponsiveVoice voices and choose the one that best matches your audience.
Can I use Afrikaans text to speech in a browser?
Yes. Use the ResponsiveVoice browser library from npm or the CDN. The browser can use native speech and ResponsiveVoice fallback audio depending on the selected voice and platform.
Can I generate Afrikaans audio on a server?
Yes. Use the ResponsiveVoice REST API or API client with an API key and API secret. Keep the secret server-side only.