text to speech - Android TTS has more languages available than found in settings -


i using android's tts (using google's engine) , quite confused settings , language support. how detect if language available:

if (tts.islanguageavailable(currentlocale) >= texttospeech.lang_available) {     ttsavailable = true;     tts.setlanguage(currentlocale);     tts.setonutteranceprogresslistener(new vputteranceprogresslistener()); } 

which works fine. in fact, works better expected. default google engine not has dutch voice (as found in settings > input > text-to-speech), yet engine claims available , speaks dutch. did google silently add tts voices , not open them settings?

i don't have 50 reputation comment i'll answer here.

a simple explanation might when android firmware released, tends target particular region, europe. so, european firmware might have pretty western, plus some, or eastern european languages built firmware.

however, tts "service" within firmware, wrapped neatly in app, supporting java / android classes. , since "service", can bundled all, or many languages possible being supported via tts.

so, you'll difference in languages support between firmware , "services" contain in firmware.

i hope above explanation makes sense.

update 1:

with regard "dutch not in list, yet engine support , speaks dutch", oversight, or lack of due diligence in software quality assurance, made google or android device manufacturer, or both. so, though dutch not listed, can still call locale , use in tts. perhaps, need log issue google. maybe can shed further light matter.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -