SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.LoadString( String ID, optional parameters )
If your SBM user interface uses multiple languages, this function returns the specified String ID in the language specified by each user. For example, if your system is provided to users in English and German, the Ext.LoadString( String ID ) function returns strings such as error messages in each user's specified language.
StringID
Use this argument to specify a record in the Strings table. For example, Ext.LoadString( "IDS_TOOLBAR_HOME" ) returns the string associated with the Home button in the browser interface.
Optional parameters
Use up to six optional parameters which can be non-integer string declarations of the String ID, text, or integers. If string declarations cannot be interpreted, they are returned as literal text.
Returns the translated string associated with the StringID.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.