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 

Import Resource Strings Issue

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



Joined: 26 Jul 2006
Posts: 20

PostPosted: Mon Jan 08, 2007 11:44 am    Post subject: Import Resource Strings Issue Reply with quote

The import resource string wizard will not import to a tsiLang component which has been inherited.

We use form inheritance and so we have one tsiLangRT component on our base form, all our forms inherit from this. We don't want to import each application's recourcestrings into the siLangRT on our base form (we have many applications), we want to instead import them into an application specific form's tsiLangRT (a descendent of our base form), but if I select a this form to import into the strings don't get saved. This is a problem for us!

Also, I have logged an issue before whereby it takes ages to "check all" of the resource strings to import. We have tried on several machines and each machine has this problem. Please see the film I've captured of this : http://www.megaupload.com/?d=1134HGBC
Perhaps it is as simple as a missing BeginUpdate, EndUpdate, or could be solved by checking the checkboxes in reverse from last to first.

Another thing is we use FinalBuilder to automatically build our applications, but this is geared to use the Delphi command line compiler. Could you make the resourcestring extraction and streaming to a form's siLang component a command line application?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Mon Jan 08, 2007 12:01 pm    Post subject: Reply with quote

Please note: you must use only ONE TsiLang per project that will handle resource strings translation and this TsiLang must be create all the time application runs!
Do you have IsInheritedOwner=True on all child (inherited) forms but not for the base one?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Mon Jan 08, 2007 12:10 pm    Post subject: Reply with quote

Also at http://www.sicomponents.com/soft/wizards.zip is placed updated version of Wizard.
Back to top
View user's profile Send private message
Paul Zip



Joined: 26 Jul 2006
Posts: 20

PostPosted: Mon Jan 08, 2007 1:07 pm    Post subject: Reply with quote

Yes, I am aware we must use only ONE TsiLang per project that will handle resource strings translation and this TsiLang must persist for app lifetime.

Yes, IsInheritedOwner=True is set to true on all child (inherited) forms but not for the base one.
Back to top
View user's profile Send private message
Paul Zip



Joined: 26 Jul 2006
Posts: 20

PostPosted: Mon Jan 08, 2007 1:29 pm    Post subject: Reply with quote

I have tried the new wizards file and there is no improvement, it still takes ages to select all of the checkboxes and it uses 100% cpu.

Could this exe be made command line callable?

e.g. siimporter.exe /app="c:\files\App.exe" /obsolete="Y" /checkall="Y" /dfm="c:\source\Myform.dfm"

etc.

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


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Mon Jan 08, 2007 1:42 pm    Post subject: Reply with quote

We will try to add command line interface support to this wizard. Could you please send me the EXE file which causes such incorrect behavior?
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