i've an application with one TDataModule, one MainForm and round about 22 sub forms. On the TDataModule there's a TsiLangDispatcher and all my forms knows this TDataModule.
My problem: i don't know really the different between TsiLang and TsiLangRT.
In the TsiLang User Guide on page 15 there's a description to use TsiLang components with more than one form so i placed a TsiLang on every form with linkage to the TDataModule.TsiLangDispatcher.
Still in the User Guide on page 16 in item 2 i read another way with TSiLangLinked.
Q: What is the right way to use this components? Or It's better to put a TsiLang on the TDataModule too and every form gets a TsiLangLinked with linkage to it?
TsiLangRT is needed ONLY when you need to provide the abilty for end-user to translate your form at run-time.
The recommended structure is to pur TsiLang on data-module and on all other form place TsiLangLinked and set their CommonContainer to TsiLang from data-module as well as dispatcher.
This way you will have common strings like Dialog captions shared from one place for your project which results in reducing the EXE's size and translation data size.
Hope this helps.
isiticov wrote:
The recommended structure is to pur TsiLang on data-module and on all other form place TsiLangLinked and set their CommonContainer to TsiLang from data-module as well as dispatcher.
meanwhile i've a TsiLangDispatcher on the TDataModule and a TsiLang on every form with linkage to TsiLangDispatcher on TDataModule like the example on page 15 in manual.
Is your way with TsiLangLinked on every form the better way?
Can i so export the translation at one time to give them in a translation office?
Regards, Carsten
Supplement:
If i understand right i must set on every form: