1

Change TalkBack language for a single word

view story
linux-howto

http://stackoverflow.com – I'm currently working on a way to change TalkBack vocalization language for an application, an activity or a single TextView. For instance, my application is in english but the user phone is in french. How can I force TalkBack to use english vocalization language for my application. I have already tried to change the locale in the onCreate of my main activity with the following code but it did not seem to work : String languageToLoad = "en"; Locale locale = new Locale(languageToLoad); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale = (HowTos)