DEV Community

Cover image for Multilingual Magic: Power Virtual Agents / CoPilots for Global Engagement (preview)
Holger Imbery
Holger Imbery

Posted on • Originally published at the.cognitiveservices.ninja on

Multilingual Magic: Power Virtual Agents / CoPilots for Global Engagement (preview)

Photo by Nareeta Martin on Unsplash
Multilingual bots are chatbots capable of communicating with customers in various languages while maintaining all content within a single bot. Often, they can automatically detect the preferred language and respond accordingly, offering customers a more personalized and engaging experience. This long-awaited feature is now on the horizon for Power Virtual Agents / Copilot Studio as a preview feature. There is no need to develop a separate bot for each required language.

Disclaimer: This is a preview feature. Preview features are not intended for production use and may have limited functionality. Multilingual bots are not supported in the following scenarios:

  • Power Virtual Agents classic bots

  • Voice bots with Dynamics Omnichannel

How to implement

To implement a bot as a multilingual bot:

  • Open the desired bot.

  • Expand the Languages (Preview) section in the side navigation pane.

  • Click on Add Languages.

  • Select an additional language you wish to utilize.

  • Press "add languages"

  • download the language file after creation or after modification of your bot

  • You may want to use a translation tool to convert the .resx file or manually translate the strings.

    One such tool you could use is, for example, ResxTranslator

  • Upload the translated content and proceed to work with your bot as usual.

  • Select the language on top of your "test chatbot" window to test your translated bot.

Next steps

When creating content, you can configure the bot to switch the spoken language during a conversation. This logic can be placed in any topic within the bot.

To change the bot's current language, set the User.Language variable value to one of your bot's secondary languages. This choice will immediately alter the language spoken by your bot.

Conclusion

Power Virtual Agents now offers a preview feature for creating multilingual bots, allowing businesses to engage with customers in various languages using a single bot. By implementing and translating language files, companies can provide a more personalized and engaging experience for their global audience.

Top comments (0)