Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialText multilanguage and changing language dynamically without click button in the corners #580

Open
leonardoas10 opened this issue Nov 24, 2023 · 1 comment

Comments

@leonardoas10
Copy link

Hello, i have two issues with my bot.

initialText multilanguage

Exist a way to use different initialText according to the language?

Right now, i set it like:

"initialText": "Para español selecciona: es_ES, di 'Hola' / For english select: en_US, say 'Hi'",

Could be something like:

"initialText": { "es_ES": "Hola!'", "en_US": "Hello!"},

changing language dynamically without click button in the corners

Existe a way if a user type in input "es_ES" change the language to Spanish and viceversa with "en_US"?

I monitoring the use of bot, utterances, i see that multiple user type "es_ES" or "en_US" to change the language instead of click the button, so they intent to leave the chat...

@atjohns
Copy link
Contributor

atjohns commented Nov 28, 2023

Thanks for the suggestion, we will add this to our internal backlog. I like the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants