Localization
Important
For information on how to setup localization, please refer to the Localization GuideUsage
'channelselector' namespace should be used when defining localization strings for ChannelSelector plugin in your i18n JSON file.
In the example below, we demonstrate defining new strings for the 'en' (English) language. You may use any language codes you wish; there is no standard format. When selecting the active language in your configuration, you must match one of the language codes defined in your i18n JSON file. Please note that you must only define a language code once in your i18n JSON file. Inside each language object you should define new strings for each widget.
Example i18n JSON
{
"en": {
"channelselector": {
"Title": "Live Assistance",
"SubTitle": "How would you like to get in touch?",
"WaitTimeTitle": "Wait Time",
"AvailableTitle": "Available",
"AriaAvailableTitle": "Available",
"UnavailableTitle": "Unavailable",
"CobrowseButtonText": "CobrowseSubTitle",
"CallbackTitle": "Receive a Call",
"CobrowseSubTitle": "Agent connection is required for this.",
"AriaClose": "Live Assistance Close",
"AriaWarning": "Warning",
"AriaAlert": "Alert",
"minute": "min",
"minutes": "mins",
"AriaWindowLabel": "Live Assistance Window"
}
}
}
This page was last edited on April 1, 2020, at 00:00.
Comments or questions about this documentation? Contact us for support!