discussion how to choose spoken language
# 🤝help
a
I'm working with a bot that even might be handled by people not talking german (my language and the country where the company is situated) not even english. So whats the most elegant way to figure the language out I was wondering. Asking with Flags? forcing the user to type at least 6 words to recognize the language via language agent? hard coding - would be too many languages to choose from isnt it? What are you guys prefering? thanks in advance ladys and gentleman
f
Does any of these methods fit your requirement?

https://www.youtube.com/watch?v=fBwSLPbPqn8&t=40s

a
I was checking this https://discordapp.com/channels/1108396290624213082/1120796649686573086 as well but all those solutions dont really fit my requirements - the difference is that for example I don't know how a person from syria for example is not able to speak english - i mean what kind of basic english understanding in a german country can I expect to understand. I hope you can understand what I mean
detect language every turn could be a simple workaround to deal with it. having a trigger might be a solution? dont really know how yet
f
I mean the translations from turbo are incredibly solid
possibly you could offer main languages you expect to pop up like arabic or others
Unfortunetaly the team is mostly gone for the weekend. let me ping @green-whale-28135 he's well trained in conversation design best practices 🙂
a
alright yeah lets give it a shot
meanwhile chatgpt gave me at least the answer on which languages i should focus on
f
he will probably get back to you on monday, but he's the sure fire conversation design pro. We work with alot of european business and most bots have to deal with 3-4-5 languages
a
you got me
f
🙂
a
lookin forward to monday guys
f
have a nice weekend
a
same man
g
Hey @adamant-gold-84199, checking this https://discord.com/channels/1108396290624213082/1131187432902115448/1131187432902115448 was a great way to get started and is still relevant. Having flag emojis is definitely prettier to the user's eyes, but you can also write the full language name in the native language instead of English to ensure users know what they'll get, if you decide to go that route. Turning on "detect language every turn" would be the best way to ensure your users get an appropriate answer. We're aware this feature has been, in some instances, unreliable, but we're actually working on a way to make it much more reliable. My suggestion would be: go with "detect language every turn" in the translator agent, test it to see how it reacts to the different languages you expect and follow Gordy's best practices in the link I provided above. If you're not satisfied, go with the other "hard coded" route where you ask the user for their language preference. You can even try some trick with the AI task, like ask to analyze the first user message and extract the language they talked in, then have an explicit confirmation like "Looks you want to talk in {{workflow.language}}, correct?", and if not correct then ask them which language they want to talk in, use an AI task to generate the iso code of that language and pass it into an execute code to hard code that language for the rest of the user's journey!
Plenty of options there 😁
a
Thanks mate I’ll be playing around with those ideas 👌 how do you guys handle answered threads? My followed helpthreats vanish by itself
24 Views