Doubt about .SIL files

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

Doubt about .SIL files

Post by pablobr »

Hi again :D

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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

You can use one of the following ways:
1. To use SIB files (much faster and always contain only actual data)- preferrable :)
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.
Best regards,
Igor Siticov.
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

Hmmmm...

Post by pablobr »

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
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

testing...

Post by pablobr »

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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

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.
Best regards,
Igor Siticov.
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

I know about that ...

Post by pablobr »

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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Then the only way: at first load translated SIB and later save to create updated.
Best regards,
Igor Siticov.
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

I tried it already...

Post by pablobr »

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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

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.
Best regards,
Igor Siticov.
pablobr
Posts: 18
Joined: Tue Sep 21, 2004 6:09 pm

Thanks

Post by pablobr »

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

Thank´s for the fast support !

:D :D
Post Reply