Hi,
I' ve installed last version 6.2.2 of TSI Lang but I have some problem with string translation.
I have a sil file that contain my string:
TfrmTAG.IDS_421=No element is selectable!~!@#$Nessun elemento selezionabile!~!@#$
In my form I have simply to display this message, I use
siLang1.GetTextOrDefault('IDS_421' (* 'Nessun elemento selezionabile!' *) )
Element IDS_421 is present in my file but siLang1 returns me an empty string.
I've tried to change Identifier but nothing happens, my siLang1 is not null and shows some string near to this.
I have this problem frequently. What can I do?
Thanks
Can't translate strings!
Can't translate strings!
Building Intelligence Group
Your BIG choice
Your BIG choice
Hi,
In most cases this might be caused by with operator usage for one form inside of another form code. For example:
In this case expert added IDS_421 to TForm1 but code calls this for siLang1 from Form2.
Please let us know if this helps.
In most cases this might be caused by with operator usage for one form inside of another form code. For example:
Code: Select all
procedure TForm1.ButtonClick(Sender: TObject);
begin
with Form2 do
ShowMessage(siLang1.GetTextOrDefault('IDS_421' (* 'Nessun elemento selezionabile!' *) ) );
end;
Please let us know if this helps.
Best regards,
Igor Siticov.
Igor Siticov.