Page 1 of 1

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

Posted: Mon Jan 15, 2007 10:21 pm
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

Posted: Tue Jan 16, 2007 2:10 pm
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);