MobileCRM.Localization.initialize - Resconet/JSBridge GitHub Wiki
Initializes the Localization object.
Method loads the string table asynchronously and calls either the errorCallback with error message or the callback with initialized Localization object.
All other functions will return the default or empty string before the initialization finishes.
Argument | Type | Description |
---|---|---|
callback | function(config) | The callback function that is called asynchronously with initialized Localization object as argument. |
errorCallback | function(errorMsg) | The errorCallback which is to be called in case of error. |
scope | Object | The scope for callbacks. |