I have the following situation:
On data module I have SiLangRT component which plays common container role and dispatcher. SiLangRT is connected to dispatcher. On every form of my application I have LangLinked component and its Common Container is SiLangRT and LangDispatcher is dispatcher from DataModule. I want both to provide to an end user possibility to translate forms using EditAll function of SiLangRT component as well as still have CommonContainer. Can I do this in any way?
TSiLangLinked and TSiLangRT
This is not possible with TsiLangLinked, but you may try to use the on of the following:
1st way:
2nd way:
Hope this helps.
1st way:
- 1. Use everywhere TsiLangRT
2. Translate Dialog Captions only in TsiLangRT from Data Module
3. Set Options property to [loUseExtCommonStrings] (This will tell to find translations for "common" strings like dialogs in all TsiLangXXXs linked to same dispatcher)
2nd way:
- 1. Don't use TsiLangRT at all but use TsiLang as common container
2. Save project translations to SIL/SIB file
3. Set FileName property of dispatcher to this SIL/SIB file
4. To edit translations use SIL Editor as external editor
Hope this helps.