Traslate RVActions

General TRichView support forum. Please post your questions here
Post Reply
israelgs
Posts: 25
Joined: Mon Oct 23, 2006 11:46 am

Traslate RVActions

Post by israelgs »

Hi!

I need to translate RVActions but from code and without it appears no dialogue to the end user. That is to say, as if by defect the language was Spanish.

Thanks
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RVActions are already translated to Spanish.
To set the default language, place TRVAControlPanel on form and change Language property.
To apply language to actions, call RVA_LocalizeForm, see TForm3.Localize in the ActionTest demo.
israelgs
Posts: 25
Joined: Mon Oct 23, 2006 11:46 am

Post by israelgs »

Thanks, but the new problem: RVAPopupMenu displays options in english but I set Spanish in the RVAcontrolpanel!!!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You need to call RVA_LocalizeForm for form where TActionList with RichViewActions is placed. If this is a datamodule, call this function for this datamodule.
israelgs
Posts: 25
Joined: Mon Oct 23, 2006 11:46 am

Post by israelgs »

Thanks.
Post Reply