inherited forms and translate source

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

inherited forms and translate source

Post by Thomas J. »

Hello,

I have a source .cpp with some strings and I want to use the function "Translate source" . If I use the function everything is fine for this form, but all inherited forms get NULL for these strings.

So my idea was to put such strings which are needed in several forms in a "main string form" and write such code like
MainStringForm->Lnk->GetTextOrDefault("")

But how can I copy selected rows from the "Translation Editor" of the form which is translated via source, to the main string form?
I can only export and import, but after import are the other strings gone.

Thanks
Thomas
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

1. Open Translation Editor
2. Select range of cells to copy (using Shift+Arrow keys)
3. Press Ctrl+C to copy these cells.
4. Close Translation Editor and open it with TsiLang on destination form.
5. Using Down arrow key add as many rows as needed for copied cells.
6. Press Ctrl+V to paste cells from clipboard.
Best regards,
Igor Siticov.
Post Reply