Version

Utility.getLocalizedString

This method is used to localize a text string using the SharePlus resource files.

Syntax

SPlus.Utility.getLocalizedString (text, function (localizedText){
        //TODO: Implement what to do with localizedText
});

Utility.getLocalizedString Parameters

Parameter

Type

Description

Text

String

Text to be localized.

onSuccess callback function

Parameter

Description

function (localizedText)

Success callback function to be implemented, which receives a String with the localized text string.