I18n functions poheader >>

gettext


_


Get text translated into the current locale.


Syntax


translated_string = gettext(your_string)
translated_string = _(your_string))

Input argument


your_string

a string: message to be translated.

Output argument


translated_string

a string: message translated.

Description


translated_string = gettext(your_string) gets the translation of a string your_string to the current locale in the Nelson domain.

_(your_string) is an alias of gettext(your_string).

Example


disp(_('function not found.'))

See also


setlanguage, getlanguage.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

I18n functions poheader >>