Set language - updated version 2024 - version 1.0
# 📖tutorials
j
In this tutorial, i will teach you how to set the users language in two ways 1: set the user's language via raw input and code 2: set users language via single choice (which limits their choices)
@crooked-van-25152 sorry for the ping but this is what i mean
c
All good 🙂
j
@@red-nightfall-28336
to turn on the language agent, go to you agents pannel

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

r
Thanks but that's not exactly what I need. I meant how to CREATE a translator bot. I just need some hints
c
Please post in #1111009377525186570 !
r
Ok
j
@wooden-musician-71039
this will also help you
s
is there anyway that my chatbit can autodetect the site's url and change its language accordingly ( if url contains /es/ the chatbot language should also switch to it and vice versa)
@User
a
If I’m right, you can set manually bot language. Detect url extension (.com, .es, .de) and set manually
m
Using autonomous node? If so just add that in the instructions.
c
You could create a parser that takes apart the url and checks based on conditionals what language it is set too , after which you can assign that to a variable. Alternatively you can use a fast/small llm/classifier specific for this task.
w
I've created this [tutorial](https://discord.com/channels/1108396290624213082/1294770912155013163) and a workflow called Webchat Data. What do you think?
8 Views