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 

load translations from an other form

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



Joined: 11 Mar 2005
Posts: 20

PostPosted: Wed Apr 17, 2013 5:56 am    Post subject: load translations from an other form Reply with quote

is it possible to load a translated string from another form or another SIB-File?
e.g. in TForm2 i can get a text by "silang1.gettextordefault('test')".
Right now i like to get this text also in another form (TForm1) without making an identical entry in the sib-File for TForm1, so in form "TForm1" something like "silang1.GetTextordefault( 'TForm2.test' ) ??

That is especially interesting, if im working with DLLs and like to get some translated strings from the calling executable.

Kind regards

Andreas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Thu Apr 25, 2013 6:40 am    Post subject: Reply with quote

Hello,

This is not possible. For such cases I would recommend to place such strings in separate datamodule and then use these strings from this datamodule.
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