Table of Contents

GetText Method

Returns the localized text for the specified message identifier using the current localizer.

Syntax

Unit: Bcl.Lang

function GetText(const MsgId: string): string;

Parameters

<-> Parameter Type Description
const MsgId string The message identifier to look up.

Returns

The localized text, or MsgId itself if no localizer is active or no translation is found.