chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Get user locale server-side

Open hanfi opened this issue 1 year ago • 3 comments
trafficstars

hi

i send a welcome message to client using cl.Message, i need to have the user locale to send the welcome message in the correct language.

i searched and i can't put my hand on a way to get the user browser language in the python side of the project.

does any one have an idea on how i can have this ?

thanks a lot

hanfi avatar Jan 25 '24 12:01 hanfi