TRVControlPanel.Language

<< Click to display table of contents >>

TRVControlPanel.Language

User interface language.

type

  // Defined in FMX.RV.Localize unit
  TRVLanguageName = type String;

 

property Language: TRVLanguageName;

The value of this property is the English name of the language. Assign the name of one of the registered languages to switch the user interface language. The language in associated controls is changed automatically.

Assigning a new value to this property automatically sets AutoDetectLanguage to False.

If the value assigned to this property contains an en dash (#$2013), only the part of the string before the dash is used. This allows assigning values returned by the FillLanguageList method, where the English and native language names are separated by this character.

This language is used by the components associated with this control panel.

Initial value:

The operating system user interface language (or 'English' if the system language is not supported).

A value assigned to this property at design time is stored in the form only if AutoDetectLanguage = False.