Change language widget v2 to spanish

Hello everyone,

In v1 I can change the language to Spanish with locate variable, but in the v2 widget I can't find it :S

Has anyone changed the language of v2?

Thanks

Hello,

See here for info on Widgets v2 localization: https://all.docs.genesys.com/WID/Current/Developer/GWCInternat

In your Widgets v2 configuration:
Note that this is not exposed/configurable via the developer tools - this would have to be added to your html/js code in addition to the window._genesys.widgets.webchat configuration (as described here)

For spanish, you would have to configure something like this in your window._genesys.widgets.main section.

window._genesys.widgets = {
  main: {
    lang: "es",
    // Enter a URL that points to spanish language file
    i18n: "https://apps.mypurecloud.com/widgets/9.0/i18n/widgets-es.i18n.json"
  }
};

I have just displayed the 2 options related to localization above.
Note that the main section supports other configuration options as described here: https://all.docs.genesys.com/WID/Current/SDK/App-combined#Configuration

Regards,

Thanks Jerome!! it worked perfectly. :slight_smile:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.