Page 1 of 1
Traslate RVActions
Posted: Mon Oct 23, 2006 11:50 am
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
Posted: Mon Oct 23, 2006 1:59 pm
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.
Posted: Tue Oct 24, 2006 6:29 am
by israelgs
Thanks, but the new problem: RVAPopupMenu displays options in english but I set Spanish in the RVAcontrolpanel!!!
Posted: Tue Oct 24, 2006 8:08 am
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.
Posted: Tue Oct 24, 2006 8:19 am
by israelgs
Thanks.