TsiLangLinked

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
MainSoft
Posts: 52
Joined: Mon Feb 14, 2005 9:18 am
Contact:

TsiLangLinked

Post by MainSoft »

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.
Patrick Philippot
www.mainsoft.fr
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

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.
MainSoft
Posts: 52
Joined: Mon Feb 14, 2005 9:18 am
Contact:

Post by MainSoft »

Thanks for the quick answer, Igor.
Patrick Philippot
www.mainsoft.fr
Post Reply