getUserLanguage
Defines the localization key used in the embedded agent interface.
Call the callback with a valid translation key provided by your external system.
Parameters
Name | Data type | Description | Notes |
callback | String | The callback argument is the language for the location where the embedded agent interface is used. | Values: See Genesys Cloud supported languages (Resource Center). |
Example
The following example uses American English for the embedded agent interface.
Copied
config: {
...
getUserLanguage: function (callback) {
callback("en-US");
}
}