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 

Storing translation data

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



Joined: 04 Jun 2003
Posts: 1

PostPosted: Wed Jun 04, 2003 6:31 am    Post subject: Storing translation data Reply with quote

Quote:
You have the choice where to store the translation data: either internally...


Where can I make these settings? Thx.
Back to top
View user's profile Send private message
gaivans



Joined: 29 Nov 2002
Posts: 71

PostPosted: Wed Jun 04, 2003 7:20 am    Post subject: Reply with quote

Hello,

All TsiCustomLang descendants by default store translations internally in the owner's .dfm file but also have a number of methods to save/load translations to/from an extenrnal file. So, if you wish to store translations externally you can save the translation data in design-time to a .sil/.sib and then call in run-time "LoadAllFromFile" when needed.

There is also a specialized component TsiLangRT - this automatically load translations in run-time if you have specified the "StorageFile" and set the property "LoadOnCreate" = True. This component also has methods for editing translations in run-time ("EditAll", "EditProperty", "EditExtended") so you can provide your end user with the ability to modify translations in run-time.
Back to top
View user's profile Send private message AIM Address MSN Messenger
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