TW.Runtime
A global runtime object. You can use this API in widget extensions and in function expressions within mashups.
TW.Runtime.convertLocalizableString(`[[token name]]´)
Retrieves the localized string for the specified ‘[[token name]]’ localization token argument.
Description
Retrieves the localized string for the specified ‘[[token name]]’ localization token argument.
Syntax
TW.Runtime.convertLocalizableString('[[UserName]]');
Return
A localized string
Parameters
token name—A string that contains the name of the token for which to retrieve the localized string. Token names are surrounded by double square brackets.