ImageEn, unit iesettings

TIEGlobalSettings.SetLanguageWord

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 actions

lang is the target language.
msg is the message to translate.
trans is the translated message.

Notes:
- 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 OnGetLanguageWord


Example

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


See Also

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