Closed molesquirrel closed 1 year ago
This is how you change the english default language: addSpeechEvent(client, { lang: "pl-PL" })
. Make sure that the language format is correct for your desired language.
Thanks! I see the Google cloud at least appears to support multiple languages at once; is there a known format for entering in more than one language using the above advice?
On Fri, Mar 31, 2023, 7:29 AM Narco121 @.***> wrote:
This is how you change the english default language: addSpeechEvent(client, { lang: "pl-PL" }). Make sure that the language format is correct for your desired language.
— Reply to this email directly, view it on GitHub https://github.com/Rei-x/discord-speech-recognition/issues/53#issuecomment-1491048678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVQNLRZAQLOXZ6KACSTVNTW6YCKXANCNFSM6AAAAAAWMWVVDA . You are receiving this because you authored the thread.Message ID: @.***>
No you can only set one language at a time with english as the default language. If you want support for multiple languages, you have to customize the code yourself.
I saw an earlier issue regarding language support, but more simply, is there a way to set the default language (or multiple languages) used for the speech recognition?