RVA_SwitchLanguage procedure

Top  Previous  Next

Changes the current language.

procedure RVA_SwitchLanguage(const LanguageName: TRVALanguageName);

Assigning a new value to TRVAControlPanel.Language has the same effect.

To get a list of valid languages, use RVA_EnumLanguages or RVA_FillLanguageList.

To complete a language changing, the following procedures must be called after RVA_SwitchLanguage:

RVA_LocalizeForm for localization of Captions and Hints of all actions on the given form/datamodule;

RVALocalizeRuler for localizations of hints in TRVRuler component;

GetAddictSpellLanguage(RVA_GetLanguageName), GetAddictThesLanguage(RVA_GetLanguageName) for assigning UILanguage property of TRVAddictSpell3 and TRVThesaurus3 (only if Addict 3 is used);

RVA_GetCharset for changing Charsets of menus, hints and your forms;

RVA_GetS for localizing standard menu items in your menu (such as "File", "Edit"...).

See also:

RVA_ChooseLanguage


RichView © Sergey Tkachenko