MobileCRM.Localization.getPlural - Resconet/JSBridge GitHub Wiki
Gets the plural version of the display string for the passed id.
Arguments
Argument | Type | Description |
---|---|---|
id | String | Display string id. |
This example demonstrates how to get the localized plural for the name of Account entity.
MobileCRM.Localization.initialize(startPointFn, MobileCRM.bridge.alert);
function startPointFn(localization) {
// returns the localized plural for entity "account" ("Accounts" for English).
var accountsLabel = MobileCRM.Localization.getPlural("account");
MobileCRM.bridge.alert(accountsLabel);
}