Hi,
this is my routine
My default language is Italian, so no problem when main.language = 1
When the language is 2 or 4, he proposed the installation of French and Spanish, so no problem.
But when the language is English, it does not propose me any installation and speaks in Italian.
Is there any error in the routine?
Thanks
this is my routine
B4X:
Sub TTS1_Ready (Success As Boolean)
If Success Then
TTS1.SpeechRate = 0.8
TTS1.Pitch = 0.7
Select Case Main.language
Case 1
TTS1.SetLanguage("it","IT")
Case 2
TTS1.SetLanguage("fr","FR")
Case 3
TTS1.SetLanguage("en","EN")
Case 4
TTS1.SetLanguage("es","ES")
End Select
Else
Msgbox("Error initializing TTS engine.", "")
End If
End Sub
My default language is Italian, so no problem when main.language = 1
When the language is 2 or 4, he proposed the installation of French and Spanish, so no problem.
But when the language is English, it does not propose me any installation and speaks in Italian.
Is there any error in the routine?
Thanks