Page 1 of 1

inherited forms and translate source

Posted: Fri Jun 15, 2012 1:13 pm
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

Posted: Sat Jun 16, 2012 2:39 am
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.