0

I want to try speech Gujarati language for my application. I've tried this locale code for the Gujarati language:

result = tts.setLanguage(Locale("gu-IN"))

result = tts.setLanguage(Locale("gu"))

result = tts?.setLanguage(Locale("gu-IND"))!!

I've tried these locale codes for the Gujarati Language .. but none of them work.

Community
  • 1
  • 1
saurabha
  • 9
  • 2

1 Answers1

0

The code gu-IN is correct you can confirm by here. If it's not working in your program then you can try this code to confirm if the language is in the list or not.

If it's available then you need to re-check your code. You can also share your code for help.

Nitish
  • 995
  • 7
  • 17