How to set Cantonese as the voice search language in a app?

前端 未结 2 1881
旧巷少年郎
旧巷少年郎 2021-01-25 03:47

My current code below works fine when using the \"ZH\" ISO code for Mandarin but won\'t for Cantonese. This is the code below

  Intent i = new Intent(RecognizerI         


        
相关标签:
2条回答
  • 2021-01-25 04:29

    I got the code working, the dash just needed replaced with a underscore to make:

    zh_HK

    Thanks for your help Lilz.

    0 讨论(0)
  • 2021-01-25 04:45

    For Cantonese try zh-HK instead

    Hope this helps

    0 讨论(0)
提交回复
热议问题