FMX.Types.LoadLangFromFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadLangFromFile(const AFileName: string);

C++

extern DELPHI_PACKAGE void __fastcall LoadLangFromFile(const System::UnicodeString AFileName);

Properties

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

Description

Loads the language dictionary for translation from a specified file.

AFileName specifies the name of the file. If AFileName does not exist, LoadLangFromFile does not raise any errors and does not change the previous language dictionary.

When a language dictionary is loaded, the translation is applied over all the strings that appear on the scene.

See Also