ImageEn

Language Support


ImageEn provides full localization for fifteen languages: Arabic, Chinese (Simplified and Traditional), Dutch, English, French, German, Greek, Italian, Japanese, Korean, Portuguese, Russian, Spanish and Turkish. And partial support for the more: Czech, Danish, Farsi, Finnish, Hungarian, Norwegian, Polish, Serbian, Swedish (Note: machine translation has been used for some localization).




These languages are used in ImageEn dialogs (such as when editing and printing images) and by ImageEn Actions. Changing the current language requires only setting IEGlobalSettings().MsgLanguage, although the default is msSystem so it should automatically display the correct language for the user. To test the localization, try the demos in the \Actions\ folder.

You can check the coverage for specific languages by reviewing iewords.pas. If you update any of the translated strings, please email your changes to support@xequte.com.

If you do not require localization support, you can undefine specific languages in in "ie.inc" to reduce the size of your EXE. You will need to recompile your packages.

Note: Some languages that use extended character sets, such as msRussian, msChinese, msChineseTraditional, msChineseTraditionalBig5, msJapanese, msArabic, msKorean, require a Unicode compatible Delphi/C++ version (2009 or newer)


Example

// Set language to Italian
IEGlobalSettings().MsgLanguage := msItalian;

// Use ImageEn to localize your buttons
btnOK.Caption := IEGlobalSettings().GetLanguageWord( IEMSG_OK );
btnCancel.Caption := IEGlobalSettings().GetLanguageWord( IEMSG_Cancel );

// Customize ImageEn's translation
IEGlobalSettings().SetLanguageWord( msEnglish, IEMSG_OK, 'Yeah, dude!' );
IEGlobalSettings().SetLanguageWord( msEnglish, IEMSG_Cancel, 'Nah...' );
IEGlobalSettings().UpdateLanguage();


See Also

- MsgLanguage
- GetLanguages
- GetLanguageWord
- SetLanguageWord
- UpdateLanguage
- LanguageToStr
- iewords.pas file