web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Studio Set up ...
Copilot Studio
Answered

Copilot Studio Set up Multi-lingual Chatbot

(1) ShareShare
ReportReport
Posted on by 9
I have created a chatbot and translated the JSON localization to have a second language, to my language user language interaction is saved in System.User.Language which is a type of choice. I tried to create a question node to begin the chat conversation with the language preferences. Like, 
Choose your language preferences1- English
2- Spanish
3- Arabic
And based on user's choice, the conversation will be redirected to Conversation Start with switch to language based on the user's choice. 
Is there a way to achieve that? 
I went through Microsoft Documentation and all videos on Youtube, they all about Yaaaaay you create an Multi-lingual bot if you download Json localization and translate it, but from Demo website there is no way to test the bot with any language other than English
I have the same question (0)
  • Verified answer
    Arild Aarnes Profile Picture
    365 on at
    Hi,
    You could create a question node at the beginning of your Conversation start topic. Set it to a Multiple Choice options and add the languages the users can select, set "Save the user response as" to a variable, I named mine varSelectedLanguage . Like this:

    Next add a "set variable value" node and set the variable System.User.Language to the selected language. You can do this with a Power FX formula in the to value field. Click the three dots and select the Formula tab. Put the following Switch function in the "Enter formula" field.
     
    Switch(Text(Topic.varSelectedLanguage),
    "English",Locale.English,
    "Norwegian",Locale.Norwegian,
    Locale.English)
     
    You need to put a line there for every language you have made available for the users. Click insert and then test your bot. It should ask a question now and let the user select their language.
     
    Regards,
    Arild

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 270 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 181 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard