Table of Contents

, ,

TRANSLATE

Description

Translates the specified string to the locale of the current user if it is defined. Returns the translated string. If no locale is defined the original string is returned.

Syntax

TRANSLATE (text[, locale])

Cannot be used in the condition of a FIND action.

Parameters

Attribute of Plain Text type or expression producing Plain Text representing a string. There is also an optional second parameter indicating the name of the locale.

Returns

Text: the text translated to the current user's locale (or the named locale), or the original text if no locale is defined.

Example

<<TRANSLATE(Student.Gender,'Arabic')>>

AS_STRING, EVAL_STRING