Translation: only the top Menu Items? (Actions Demo).

General TRichView support forum. Please post your questions here
Post Reply
alogrep
Posts: 52
Joined: Fri Oct 27, 2006 5:25 pm

Translation: only the top Menu Items? (Actions Demo).

Post by alogrep »

Hi
in a file copied from the Actions Demo, only the top Item Menu gets translated. Example: in the Insert Menu, Insert gets transalted to Insertar,
but the sub items remain in English:
File (instead of Archivo)
Picture ecc.
How can I make translations of all sub items?
Thanks
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

In the ActionTest demo, all translation is performed in the procedure TForm3.Localize.
Top level menus are translated directly, like:

Code: Select all

mitFile.Caption := RVA_GetS(rvam_menu_File);
Other menu items have the assigned Action property, so they use actions captions and hints. Actions are localized by this statement:

Code: Select all

RVA_LocalizeForm(rvActionsResource);
Post Reply