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 

Doubt about .SIL files

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



Joined: 21 Sep 2004
Posts: 18

PostPosted: Wed Jun 22, 2005 6:38 pm    Post subject: Doubt about .SIL files Reply with quote

Hi again Very Happy

Let me describe a situation:

Example: I have 3 labels, and 2 buttons on my form. Done! Letīs supose this is my project!
Now I save a .SIL file from the project. Good!

But, few hours later, I decided that the 2š Label is useless and deleted it.

What I need to do to "update" my .SIL file?

Ps: Actually, I save the project again and subescribe my .SIL file. But it keepīs all the deleted "objects" and strings from my application.

Any help would be welcome,

Best regards,

Pablo
Back to top
View user's profile Send private message MSN Messenger
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Wed Jun 22, 2005 6:46 pm    Post subject: Reply with quote

You can use one of the following ways:
1. To use SIB files (much faster and always contain only actual data)- preferrable Smile
2. To save SIL file each time under different name
3. Firstly load whole SIL file to the whole project; delete existing SIL file and create new one from the whole project.
Back to top
View user's profile Send private message
pablobr



Joined: 21 Sep 2004
Posts: 18

PostPosted: Wed Jun 22, 2005 6:49 pm    Post subject: Hmmmm... Reply with quote

I just read about SIB files, but donīt know anything about then... lol

Will try to learn how to use it.

Any demo or suggestion??

Thanks
Back to top
View user's profile Send private message MSN Messenger
pablobr



Joined: 21 Sep 2004
Posts: 18

PostPosted: Wed Jun 22, 2005 7:40 pm    Post subject: testing... Reply with quote

im doing some tests now saving my project into a .SIB file....
and iīm liking...

but the same doubt persist, if i delete an object , loading all the translation from the old .sib file into the new one and then saving again is the only way to get my .sib file updated?

thanks
Back to top
View user's profile Send private message MSN Messenger
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Thu Jun 23, 2005 2:57 am    Post subject: Reply with quote

No, when saving to SIB file only "actual" (currently presented) objects translations will be stored.
Under DEMO folder there is SIBperLanguage folder, which includes demo on loading SIB files.
Back to top
View user's profile Send private message
pablobr



Joined: 21 Sep 2004
Posts: 18

PostPosted: Thu Jun 23, 2005 11:26 am    Post subject: I know about that ... Reply with quote

I know about that, but lets supose I translated my .SIB file at the SIL Editor, not in Delphi.

I have 3 labels with their captions all translated.

Then I deleted 1 label. If I save a .SIB file Iīll lose my translations from the others 2 labels, do you got my point?

I want to know how I can update my "already translated" .SIB file?

Regards,

Pablo
Back to top
View user's profile Send private message MSN Messenger
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Thu Jun 23, 2005 12:26 pm    Post subject: Reply with quote

Then the only way: at first load translated SIB and later save to create updated.
Back to top
View user's profile Send private message
pablobr



Joined: 21 Sep 2004
Posts: 18

PostPosted: Thu Jun 23, 2005 2:05 pm    Post subject: I tried it already... Reply with quote

I tried it already without success...
When I press "Load from..." at Translation Editor, it only have the option to load from .SIL or *. all files (I select all files and itīs Ok), but when I load the .SIB file it replaces everything with "empty data". My .SIB file gets empty, all properties is gone... dont know why!

Regards,

Pablo
Back to top
View user's profile Send private message MSN Messenger
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Thu Jun 23, 2005 2:22 pm    Post subject: Reply with quote

Did you upgrade to version 6.0 released recently? In v. 6.0 Translation Editor is able to load/save from/to SIB files. Otherwise just use TsiLang Expert: select form in Expert's list and click on toolbar Load Form button.
Back to top
View user's profile Send private message
pablobr



Joined: 21 Sep 2004
Posts: 18

PostPosted: Thu Jun 23, 2005 4:44 pm    Post subject: Thanks Reply with quote

Think that my problemīs are gone now...

Thankīs for the fast support !

Very Happy Very Happy
Back to top
View user's profile Send private message 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