flex-webchat-ui-sample icon indicating copy to clipboard operation
flex-webchat-ui-sample copied to clipboard

Question: How to change the default character of WebChat UI (Localization)

Open thosi-yamada opened this issue 4 years ago • 1 comments

I would like to change some default characters of Flex Webchat UI, for example "welcome message". I have tried to add like below statement in the index.js or app.js. However It does not work (actually .js error happens)

manager.strings.WelcomeMessage = "I wanna change this Welcome Message";

I know there is the document "localization and UI templating", but it does not work as well.

Could you please advice, How can I actually change (localize) the webchat UI characters.

thosi-yamada avatar Oct 18 '20 09:10 thosi-yamada

You gotta do it like this:

manager.strings.PredefinedChatMessageBody = "Howdy"

brngdsn avatar Jan 13 '22 17:01 brngdsn