Localization problem

General TRichView support forum. Please post your questions here
Post Reply
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

Localization problem

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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
Post Reply