Skip to content

MobileCRM.Localization.initializeEx

rescocrm edited this page May 15, 2023 · 3 revisions

[v10.0] 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.

Arguments

Argument Type Description
regularExpression string The regular expression defining a subset of localization keys. Refer to Regular Expression Language - Quick Reference. Set to null to obtain whole localization.
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.
Clone this wiki locally