_

_ — looks up a translation text.

Syntax

_(string)
    

Arguments

string

A string that should be translated.

Returns

The translation of the string.

Description

This function looks up a pre-configured translation text. It is used internally by the DataHub interface programmer to specify which text strings in the interface should be translated when the user selects a language in the Properties window of the DataHub. Language selection itself cannot be done within Gamma; it can only be done through the Properties window.

If your language is not available in the DataHub, you can contact Cogent for instructions on how to add a translation to the DataHub source code.

[Note]

The unusual name for this function is based on a convention of GNU's gettext function, in which the underscore symbol (_) can be used in place of the gettext function name.