Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

StrToLocalText

  • Last UpdatedJul 18, 2023
  • 1 minute read

Converts a native string into the local version of that string. (The string needs to be contained within quotation marks, as shown in the example below.) The local version is taken from the current language database(as specified using the [Language]LocalLanguage parameter).

StrToLocalText(sText)

sText:

The string for which you would like the local translation returned. This string needs to be enclosed in quotation marks. For example:

"@(Motor Overload)"

Return Value

The local version of the text if it was found, otherwise the native text or "#MESS" is returned, depending on the setting of the [Language]DisplayError parameter.

LanguageFileTranslate

Example

StrToLocalText("@(Motor Overload)");
! Returns the Local translation of Motor Overload.

See Also

String Functions

Using the Caret Escape Sequence Character

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in