-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.Localization.getPlural
rescocrm edited this page May 15, 2023
·
9 revisions
Gets the plural version of the display string for the passed id.
| 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);
}