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?
Unfortunately, we didn't get it right with the language. That's why we still have 4 bots for each language as before 😞
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?
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.
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)
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
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:
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional