Skip to main content

Notifications

Community site session details

Community site session details

Session Id : CiOpcIBg0dJnA/hGDI2epG
Copilot Studio - General
Unanswered

New Feature Multi-Language Support in one Bot

Like (0) ShareShare
ReportReport
Posted on 7 Nov 2023 13:37:11 by 27

Hi

I am currently testing the multi-language feature in PVA. Because we currently have four identical bots in four different languages and we only want one bot with the Multi-Language support.

 

How can you set the language?Is it possible to set the language externally, e.g. from a website? Our website supports four languages. If the website is called up in Italian, for example, the bot should appear in Italian. Is it possible to pass the language from the website to the bot or what is the approach here?

 

I have tried to create a work stream/chat widget for each language in Omnichannel for the bot which supports multi-language. You can define the language on the work stream/chat widget. However, when I call up the chat widget, the bot comes up in the default bot language and not in the language of the work stream/chat widget. I would have hoped that the language would be adopted. Will this be possible in the future?

 

canubis_0-1699364081187.png

 

Categories:
  • canubis Profile Picture
    27 on 22 Mar 2024 at 09:14:01
    Re: New Feature Multi-Language Support in one Bot

    Unfortunately, we didn't get it right with the language. That's why we still have 4 bots for each language as before 😞

  • pserranne Profile Picture
    4 on 18 Mar 2024 at 16:36:23
    Re: New Feature Multi-Language Support in one Bot

    Hi @canubis,

     

    We have the same requirement. Have you managed to pass along a specific language explicitly selected by the user on your site when use the Omnichannel LiveChat Widget? If so, how did you manage to do this?

  • canubis Profile Picture
    27 on 18 Dec 2023 at 15:46:25
    Re: New Feature Multi-Language Support in one Bot

    Hi @remidyon 

     

    Thank you very much for your answer.
    Unfortunately, this does not help much if PVA uses the language of the browser. In reality, e.g. in Switzerland and also in other countries, the language of the browser is often English or our main language. But the native language of the customers is a different one, e.g. Italian. That's why you can change the language on practically all websites in Europe. That's why I try to pass the language that the customer has selected on the website to the bot. But we use the Omnichannel LiveChat widget, so I don't know if this is even possible?

    Thank you.

  • remidyon Profile Picture
    on 18 Dec 2023 at 12:58:01
    Re: New Feature Multi-Language Support in one Bot

    Hello @canubis ,

    Like I said, the language is automatically set based on the user's browser language, if an Italian user connects to your website and Italian is a supported language then your bot it will switch automatically to Italian.

     

    You can see the user language in the variable System.User.Language (once you have created secondary language in the language menu)

  • canubis Profile Picture
    27 on 18 Dec 2023 at 09:49:20
    Re: New Feature Multi-Language Support in one Bot

    Hi @remidyon 

     

    Thanks a lot for you answer. I now understand how I can pass a value from a web page to a global external variable in PVA. But we are using Omnichannel.

    How can I transfer "the language" (global external variable in the PVA) in the Omnichannel chat widget?

    Our widget looks like this:

    <html>
    <head></head><body>
    <script id="Microsoft_Omnichannel_LCWidget"
    src="https://oc-cdn-public-eur.azureedge.net/livechatwidget/scripts/LiveChatBootstrapper.js"
    data-app-id="xyxy-xyxy-xyxy-xyxy-xyxyxyxyxyxy"
    data-lcw-version="prod" data-org-id="xyxy-xyxy-xyxy-xyxy-xyxyxyxyxyxy"
    data-org-url="https://orgxyxy-crm4.omnichannelengagementhub.com" ></script>
    </body></html>

     

     

    Thanks a lot.

    Christian

     

  • remidyon Profile Picture
    on 21 Nov 2023 at 17:03:39
    Re: New Feature Multi-Language Support in one Bot

    hello @canubis, language is automatically switched based on the browser's language: Configure and create multilingual chatbots (Preview) - Microsoft Copilot Studio | Microsoft Learn

     

    You can also manually set a variable into the bot from your website by injecting data to your bot and use it for specific topic, see that article

     

    Finaly can also used the language system variable in a formula if you want to point your generative answer to a particular langue of your website, ie:

    remidyon_0-1700585742523.png

     

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard