SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TSiLangLinked and TSiLangRT

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
luke



Joined: 15 Mar 2005
Posts: 1

PostPosted: Tue Mar 15, 2005 12:33 pm    Post subject: TSiLangLinked and TSiLangRT Reply with quote

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?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Tue Mar 15, 2005 1:38 pm    Post subject: Reply with quote

This is not possible with TsiLangLinked, but you may try to use the on of the following:
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)
Using this way you will be able to translate each form using EditAll() method.

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

Using this way your end-user will be able to edit translations for all forms at once and project will always load translations from SIL/SIB file.
Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group