When I use the translation Agent it always transla...
# 🤝help
e
It does not seem to matter if I use detect language or if I use user.TranslatorAgent.language = "sv" in a code block. It still translates swedish to english. Any tips?
a
hey @elegant-policeman-78009, where in your flow are you setting the language variable?
e
I tried to set it in several different places, where am I supposed to set it? I thought setting it once at the very beginning would do the trick but it did not.
f
This video might help: You need to set it first node of your main flow ideally. https://youtube.com/shorts/SIrmuihqNhs?feature=share
e
Thank you, But it's still the same behaviour. I'm setting the language to sv (Swedish) And it starts to translate all swedish to english.
a
would you mind sharing your bot? You can export it here
f
What can I do if I need to detect principal language of user and respond in the same language?
f
Hey this is not the expected behaviour. It works on my side. I would recommend sharing your bot with gordon so that he can take a look. (you can dm him the content) or alternatively invite him to your workspace
f
Ok give me your mail. I will add you to my workspace
a
hey @future-nest-52537 I put a demo bot in your instance. You can also import this bot
f
Thanks
e
@elegant-policeman-78009 Did you fix this? I've the same issue
r
i've the same issue as well.
c
for me to
2 Views