TIEGlobalSettings.SetLanguageWord
Declaration
procedure SetLanguageWord(const lang: TMsgLanguage; const msg: TMsgLanguageWords; const trans: String);
procedure SetLanguageWordA(const lang: TMsgLanguage; const msg: TMsgLanguageWords; const trans: AnsiString);
Description
Customize words that are displayed by ImageEn
dialogs and
actionslang is the target language.
msg is the message to translate.
trans is the translated message.
Note:
◼If you are using
ImageEn TActions, you should call
UpdateLanguage after you finish setting your language words to force a UI update
◼You can also customize text using
OnGetLanguageWordIEGlobalSettings().SetLanguageWord( msEnglish, IEMSG_OK, 'Yeah, dude!' );
IEGlobalSettings().SetLanguageWord( msEnglish, IEMSG_Cancel, 'Nah...' );
IEGlobalSettings().UpdateLanguage();
See Also
◼OnGetLanguageWord◼UpdateLanguage◼GetLanguageWord◼Language Support◼MsgLanguage◼CurrentMsgLanguage◼GetLanguages