Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change language in Text-to-speech

 
jaspreet manchinda
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Text-To-Speech whenever i change Locale.ENGLISH to any other language its giving a java.lang.NullPointerException
do i need to download different languages ??
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That likely depends on which API and which implementation you're using. Seems a good guess, though.
 
jaspreet manchinda
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'am using java speech API and Java software implementations
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic