Skip to content Skip to sidebar Skip to footer

Set Turkish Language For Text To Speech

Im working on text to speech app , i want to set turkish language to be as this: tts.setLanguage(Locale.TR); BUT this is not available in android , is it wrong to add this way o

Solution 1:

if your device is Turkish, use :

tts.setLanguage(Locale.getDefault());

instead of

intresult= tts.setLanguage(Locale.US);

Then EXTRA_LANGUAGE_MODEL value must be: "tr-TR".

I tried and succeeded.(But I also downloaded Turkish lang.pack from samsung market)

Post a Comment for "Set Turkish Language For Text To Speech"