Skip to content

MobileCRM.Localization.getPlural

rescocrm edited this page May 15, 2023 · 9 revisions

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);
}

Clone this wiki locally