checkGlobalLiteralExistence
Checks if the global literals for the specified language code exists.
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
localeCode | yes | string | Unique locale code |
Returns:
Type | Description |
---|---|
JS Promise | A Javascript Promise. |
Example:
LIVECHAT.checkGlobalLiteralExistence("it-it")
.then(function(data){
console.log(data);
/*
{
"result": true,
"exist": true,
"error": null
}
*/
});