FMX.Types.Translate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Translate(const AText: string): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall Translate(const System::UnicodeString AText);

Properties

Type Visibility Source Unit Parent
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Translates a specified string.

AText specifies the string to be translated.

Translate returns a string that specifies the correspondent of the AText in the current language dictionary. If AText is not found in the current dictionary, Translate returns the same string, AText.

AText is added in the collection of strings that can be translated. To view the collection of strings, use CollectLangStrings.

See Also