From ab026da313a6c5251ed12dbe79260c282e8517d9 Mon Sep 17 00:00:00 2001 From: maxerickson Date: Fri, 17 Jan 2014 07:40:05 -0500 Subject: [PATCH] Initialize country and dialect specific engines. --- OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java index 4cffb5c87f..429a7a4043 100644 --- a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java +++ b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java @@ -149,6 +149,8 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer { } break; case TextToSpeech.LANG_AVAILABLE: + case TextToSpeech.LANG_COUNTRY_AVAILABLE: + case TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE: mTts.setLanguage(new Locale(language)); break; case TextToSpeech.LANG_NOT_SUPPORTED: