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

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



Joined: 14 Feb 2005
Posts: 52

PostPosted: Tue Feb 15, 2005 5:20 pm    Post subject: TsiLangLinked Reply with quote

Hi,

I'm not sure I clearly understand what the TsiLangLinked component is for and when to use it. Could someone please elaborate a little on this?

Thanks very much in advance.
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Tue Feb 15, 2005 6:20 pm    Post subject: Reply with quote

TsiLangLinked is designed to use translations for "common" things like locales and dialog captions from one global TsiLang pointed by CommonContainer property. So, if you care about the size of your application and don't want to re-type translations for common things, you can just use the follwoing:
1. One form or data module of your project contains TsiLang component.
2. This unit is used by all forms of your project.
3. All other forms from your project have TsiLangLinked placed on. The CommonContainer property has value that points to TsiLang from unit described in 2.
This will allow you to type the translations for things like dialog captions: "OK", "Cancel", "File name:" etc. just once and reduce the overall DFMs file size.
Back to top
View user's profile Send private message
MainSoft



Joined: 14 Feb 2005
Posts: 52

PostPosted: Tue Feb 15, 2005 6:31 pm    Post subject: Reply with quote

Thanks for the quick answer, Igor.
Back to top
View user's profile Send private message Visit poster's website
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