diff --git a/res/values/strings.xml b/res/values/strings.xml
index d70899303..c5bbde341 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -161,4 +161,5 @@
Stop download?
Are you sure you want to stop this download?
Storage device selector
+ Text to speech is not enabled for this ZIM file
diff --git a/src/org/kiwix/kiwixmobile/utils/KiwixTextToSpeech.java b/src/org/kiwix/kiwixmobile/utils/KiwixTextToSpeech.java
index 17d3b4eb7..4e8a2ae3b 100644
--- a/src/org/kiwix/kiwixmobile/utils/KiwixTextToSpeech.java
+++ b/src/org/kiwix/kiwixmobile/utils/KiwixTextToSpeech.java
@@ -84,11 +84,19 @@ public class KiwixTextToSpeech {
} else {
Locale locale = LanguageUtils.ISO3ToLocale(ZimContentProvider.getLanguage());
int result;
+ if (ZimContentProvider.getLanguage().equals("mul")) {
+ Log.d(TAG_KIWIX, "TextToSpeech: disabled " +
+ ZimContentProvider.getLanguage());
+ Toast.makeText(context,
+ context.getResources().getString(R.string.tts_not_enabled),
+ Toast.LENGTH_LONG).show();
+ return;
+ }
if (locale == null
|| (result = tts.isLanguageAvailable(locale)) == TextToSpeech.LANG_MISSING_DATA
|| result == TextToSpeech.LANG_NOT_SUPPORTED) {
Log.d(TAG_KIWIX, "TextToSpeech: language not supported: " +
- ZimContentProvider.getLanguage() + " (" + locale.getLanguage() + ")");
+ ZimContentProvider.getLanguage());
Toast.makeText(context,
context.getResources().getString(R.string.tts_lang_not_supported),
Toast.LENGTH_LONG).show();