Page 1 of 1

How to get Translation Editor Form Runtime?

Posted: Wed Jan 08, 2020 11:57 am
by vahid
Hi,
Is there any way to show Translation Editor Form Runtime,
and use it to enter translation data?

Posted: Thu Jan 09, 2020 2:19 pm
by isiticov
Hello,

TsiLangRT component is designed for this. Just use EditProperty or EditAll method to bring the run-time editor. Be sure to set StorageFile property in order to save/load modified translations.

Posted: Mon Jan 13, 2020 1:31 pm
by vahid
Hello,

Thank you for your reply,
Can I change this editor form's title runtime?

Posted: Mon Jan 13, 2020 3:24 pm
by isiticov
Hello,

Translations Editor loads its translations from rt.sil file. And this file contains entry for the editor's caption as well. If there is no such file you can catch Screen.OnActiveFormChange event and if the active form is TsiTransEditFrm- you can update it as you wish.