ImageEn, unit iesettings

TIEImageEnGlobalSettings.SetLanguageWord

TIEImageEnGlobalSettings.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, messages and actions.

lang 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.


Example

IEGlobalSettings().SetLanguageWord( msEnglish, IEMSG_OK, 'Yeah, dude!' );
IEGlobalSettings().SetLanguageWord( msEnglish, IEMSG_Cancel, 'Nah...' );
IEGlobalSettings().UpdateLanguage();


See Also

- UpdateLanguage
- GetLanguageWord
- Language Support
- MsgLanguage
- CurrentMsgLanguage
- GetLanguages
- iewords.pas file