How to set eSpeak as TTS engine in OsmAnd?

I installed espeak and set it as preferred TTS engine in the settings of Android. It says it has 89 languages installed.
However, in osmand the languages available for voice prompts didn’t change as expected. How to make osmand use espeak? In particular, I want to use the Bulgarian voice of espeak.
Thanks!