Language translation advice/suggestions
# 🤝help
h
I need some ideas on how to handle language translation for our bot. I currently have a dropdown menu where users can select their preferred language, with about 16 languages to choose from. (example in picture) My main issue is what to do when a user's language isn't listed? I’m thinking of adding an "Other" option. Considering conversation UX design, what's the best way to handle this for a smooth experience for the user? I could ask users to write their preferred language, but I'd need them to write more than 5 tokens (around 3-4 words) before the bot can accurately detect the language. This isn't very user-friendly, especially if they don't speak/read English well. I've found in those cases they just write one word. Botpress is not great at picking up the language from just writing the country either (more common languages yes but not the less common ones). How do others tackle this issue in your bots? Would love to hear any work around people have come up with! https://cdn.discordapp.com/attachments/1250759280341291050/1250759280932421673/image.png?ex=666c1bda&is=666aca5a&hm=476dc7b4c4cbb794f23be5932e1d1df2cef8652e8e6610081d756c5343b0b7d8&
e
Hey! For my current projects I have always kept the translator agent on, it is pretty rare when I or someone else could come up with a meaningful thing to say that is under 3-4 words and it has worked well so far. I remember being concerned about the same thing too, but it turns out people usually don't write ''hi there" or "hola" into the chatbot. One other concern I had is how could I make the bot greet the user in the language that they are using without asking from a list - if you happen to have the website available in different languages, for example mywebsite.es, mywebsite.fr or even mywebsite.com/fr, mywebsite.com/en, I did some research, and there should be a way to send information from the website to the bot, and if the url is .fr, .com, .es then detect the language and greets in the user language, something along the lines, if you're interested in that I'd ask for help about that separately, I am pretty new too. Also, in your case, if you choose to have the list of languages, then for the sake of a better UI, it is pretty likely that you have most of your users in like 3-4 bigger languages? If so then I'd leave these 3 or 4 there as an option and the remaining 10-20% of people can press 'other' and you can hope them to write a longer sentence or literally ask them to do it. I hope it helps! Good luck!
Oh also you could have them directed to the really long list only when they press other, so most of the users will have a better UI experience choosing from the first list where only most chosen languages are displayed.
And if they cant understand english at all you can add flag emojis🙂
s
Hi, You can send the language inside the payload to your bot and also you can change the language by only using recognition - when user sends the message bot can recognize and change the language.
h
Thanks @elegant-car-67771 - a few ideas to explore there!
Thanks @square-toddler-30705 - I've found that botpress is not so great at recognising less popular languages and the person needs to write at least 5 tokens for it to recognise the language which is hard to prompt people to do if they don't speak English. Just something I will continue to try & tweak for a better user experience 🙂
s
Yes, I have a text with an example sentence so that they can copy and paste or write in their language. It's difficult because every user is different, and they might not understand. If you know your audience (language), then it's easier.
12 Views