<< Click to display table of contents >> RVA_GetLanguageName Function |
This method returns the name of the current UI language.
Unit RVALocalize.
function RVA_GetLanguageName(
ControlPanel: TComponent=nil): TRVALanguageName;
If ControlPanel is a TRVAControlPanel component, the function uses it. Otherwise, it uses MainRVAControlPanel.
The same value is returned in ControlPanel.Language property.
The current language can be changed by assigning a new value to ControlPanel.Language, or by calling RVA_SwitchLanguage procedure.