Translation in runtime
Posted: Mon Mar 21, 2005 8:34 am
Hi,
I have modular application system with one dispatcher and one container (TsiLangRT) on whole application. On each form I have TsiLangLinked which is connected to dispatcher and container. Using procedure TransEditorDlg I created posibility of editing translation of each form in runtime. That means in runtime user (translating person) pressing ShortCut keys receive translator dialog (from TransEditorDlg) with translation of current form and he is able to translate what is inside the SIL file regarding current form - connection over dispatcher-storage file.
But, there is a problem that in if the form is changed by developer, some components (labels,...) could not be in SIL file (if developer forget to update the SIL file). I would like to put this responseblity to translating person. So I would like to combinate information from the form and SIL file.
My question is: How to extract all properties from form and then translate all of them with content from SIL file (something like merge)? And the best using TransEditorDlg
.
Any tips, propositions...
Thanks
KrisD
I have modular application system with one dispatcher and one container (TsiLangRT) on whole application. On each form I have TsiLangLinked which is connected to dispatcher and container. Using procedure TransEditorDlg I created posibility of editing translation of each form in runtime. That means in runtime user (translating person) pressing ShortCut keys receive translator dialog (from TransEditorDlg) with translation of current form and he is able to translate what is inside the SIL file regarding current form - connection over dispatcher-storage file.
But, there is a problem that in if the form is changed by developer, some components (labels,...) could not be in SIL file (if developer forget to update the SIL file). I would like to put this responseblity to translating person. So I would like to combinate information from the form and SIL file.
My question is: How to extract all properties from form and then translate all of them with content from SIL file (something like merge)? And the best using TransEditorDlg

Any tips, propositions...
Thanks
KrisD