ImageEn, unit iesettings

TIEGlobalSettings.CurrentMsgLanguage

TIEGlobalSettings.CurrentMsgLanguage


Declaration

property CurrentMsgLanguage: TMsgLanguage;


Description

Returns the language that is currently in use. I.e. if MsgLanguage is msSystem, it returns the actual language, such as msItalian.



Note: To support localization, you must add the ielang32.dll/ielang64.dll to your application exe folder (See ImageEn DLL info)


Example

if IEGlobalSettings().CurrentMsgLanguage = msJapanese then
  ShowMessage('Konnichiwa!');


See Also

 Language Support
 MsgLanguage
 GetLanguages
 GetLanguageWord
 SetLanguageWord
 UpdateLanguage
 LanguageToStr