Search found 10 matches

by ursuletzu
Tue Feb 24, 2004 8:29 am
Forum: TsiLang Components Suite
Topic: BIG PROBLEM, WHY DOES SILANG NOT RECURSE FRAMES?
Replies: 1
Views: 6304

BIG PROBLEM, WHY DOES SILANG NOT RECURSE FRAMES?

When I put SiLang on a form that contains frames, the string properties of the controls contained in the frames are not available for translation! This is a major problem for me, because it is posible that some captions are changed depending on which form i do use the frame, so putting a siLang comp...
by ursuletzu
Fri Feb 06, 2004 11:11 am
Forum: TsiLang Components Suite
Topic: Populating TsiLangRT without opening the Form at designtime!
Replies: 1
Views: 6671

Populating TsiLangRT without opening the Form at designtime!

Hello I have a project with 2000 modules. Some forms are inherited from other, but this is not the relevant point. if I open the form at designtime the TsiLang component populates its Captions etc, and when I save the form all data is persisted in DFM. What I am looking for, is an automated way of d...
by ursuletzu
Wed Feb 04, 2004 2:38 pm
Forum: TsiLang Components Suite
Topic: Workaround for saving and loading translations for eachform
Replies: 3
Views: 9554

OK, thanx for pointing out the SIB option.

Yes, when I save using SaveAllToBinaryfile the content is then CORRECTLY loaded with LoadAllFromBinaryFile.

Perhaps, being new to TsiLang, I didn't grasp the difference between SIL and SIB files...

Thanx again
by ursuletzu
Wed Feb 04, 2004 1:52 pm
Forum: TsiLang Components Suite
Topic: Workaround for saving and loading translations for eachform
Replies: 3
Views: 9554

From the Editor i can only save SIL files, but not SIB files...
Why?
by ursuletzu
Tue Feb 03, 2004 8:35 am
Forum: TsiLang Components Suite
Topic: Workaround for saving and loading translations for eachform
Replies: 3
Views: 9554

Workaround for saving and loading translations for eachform

I wanted to save each form's translation in a separate file. So I tried to LoadAllFromFile but it seems not to work for me... so I save the TsiLang component stream in a file for each form and load it again on demand: procedure TForm1.Load; var SS : TMemoryStream; FF : TFileStream; iSize : Cardinal;...
by ursuletzu
Mon Feb 02, 2004 1:05 pm
Forum: TsiLang Components Suite
Topic: TsiLang does not function anymore if I call LoadAllFromFile
Replies: 4
Views: 11233

I have some packages that group forms and data modules and projects that use these packages by inheriting the forms.
I am really interested in a code snippet that shows how to load translations for just one form...

Thanx
by ursuletzu
Mon Feb 02, 2004 11:08 am
Forum: TsiLang Components Suite
Topic: TsiLang and Form Inheritance problem!?
Replies: 1
Views: 7736

SORRY, it works , my mistake
by ursuletzu
Mon Feb 02, 2004 10:52 am
Forum: TsiLang Components Suite
Topic: TsiLang and Form Inheritance problem!?
Replies: 1
Views: 7736

TsiLang and Form Inheritance problem!?

I have FormB which derives from FormA
i have a TsiLang comp on FormA. When I open the translation editor on formB, there are available only the captions from FormA!

How should I configure this properly?

Thanx
by ursuletzu
Mon Feb 02, 2004 10:37 am
Forum: TsiLang Components Suite
Topic: TsiLang does not function anymore if I call LoadAllFromFile
Replies: 4
Views: 11233

The idea is I wanted to save a SIL File for every form and load it dynamically at runtime.
All my silang comps are llinked to a dispatcher.
So the correct approach would be to load the dispatcher, not the silang components from each form?
by ursuletzu
Mon Feb 02, 2004 9:47 am
Forum: TsiLang Components Suite
Topic: TsiLang does not function anymore if I call LoadAllFromFile
Replies: 4
Views: 11233

TsiLang does not function anymore if I call LoadAllFromFile

If I call LoadAllFormFile( FileName, True or False) the TsiLang translations do not function anymore. It doesn't matter if the second parameter is false or true. The SIL file was saved at runtime from the Editor stared by clicking on the TsiLang component! Can someone explain what is wrong or what i...