1

I have an application with a translation quiz and I want to make it accessible to blind people. The problem is that when I focus on a Spanish sentence (for example), Talkback reads it in English. Is there any way to trigger the Spanish TTS dynamically in Java?

Thank you

GoldenMat
  • 133
  • 1
  • 1
  • 9

1 Answers1

4

Yes there is now!

You have to wrap the string in a LocaleSpan (min sdk 17) and the latest version of TalkBack can switch language on the fly.

ataulm
  • 15,195
  • 7
  • 50
  • 92