Page 1 of 1

Localization problem

Posted: Thu Aug 24, 2006 9:11 am
by cychia
I have check out the RV demo for Localization.

Tested the following function:
RVA_LocalizeForm();

but it only change the rvaction caption. How can i change the all component in the rv form caption? like the Table Properties dialog etc which created by rv action.

Posted: Thu Aug 24, 2006 10:34 am
by Sergey Tkachenko
RVA_LocalizeForm() applies the selected language to all richviewactions on the given form/datamodule (it changes their captions and hints)
RVA_LocalizeForm() does not change language, language should be changed before calling RVA_LocalizeForm().

The language is changed:

1) by assigning value to the Language property of RVAControlPanel (there must be only one TRVAControlPanel component in the application). A list of available values for this property is returned by RVA_FillLanguageList() (defined in RVALocalize unit).

or

2) RVA_ChooseLanguage allows to select language in dialog