Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Having added the parameter to the integration code, enter the locales:
parameters: '{"locale": '"en"}' }.

For example:

Code Block
languagejs
const floatingButton = new window.WFloatingButton({
      element: document.getElementById("0000"),
      token: "token",
});
floatingButton.render({
    insertElementPosition: "before",
    parameters: {
      '{"locale": '"en"}',
    },
});