How to add multilingual text-to-speech for your characters in Layla
- Layla

- May 12
- 1 min read
The default TTS mini-apps in Layla all work in English. However, adding multilingual text-to-speech is very easy in Android.
Layla supports SherpaTTS, which is a local text-to-speech app that does connect to internet.
Step 1: Download SherpaTTS
Download the app from F-Droid here: https://f-droid.org/en/packages/org.woheller69.ttsengine/

Scroll down the "Versions" section and download the latest APK.
F-Droid is a Google Play alternative that publishes app that are free and open source (FOSS)
Step 2: Configure SherpaTTS
After you've downloaded the SherpaTTS app, configure it by opening it:

Tap the plus sign to add a new model.
You will be presented with a list of models:

Download the language you want. The language is the two letter country code. For example, German = "de", French = "fr".
After it's downloaded, tap "Start" and the model will be loaded.
Step 3: Set SherpaTTS as your phone's default TTS model
Tap the settings icon in the main SherpaTTS screen:

This will bring up your Android System settings. Tap the Default Text-to-Speech setting:

You will be able to change the Default engine. Change it to SherpaTTS:

Done! Your default voice will now be using Sherpa.
Step 4: Configure Layla
Layla will automatically read this setting and make the voices you select available. (Make sure you restart Layla for the changes to take effect)
Go to your character's settings (edit character) -> Advanced tab:

Select your new voices in the "Native" section:

All the voices you've installed from Sherpa will appear here.
Done! Your character will now speak multilingual!




Comments