I am using a inherited form and don´t get the translation for the components that are inherited just for those that are of the child form.
For example:
Form1 = Father form, Component: Button1 (Caption=Close)
Form2 = Child Form (Class(form1)) New Component: label1 (Caption=Name)
siLang is a component of Form1 inherited by Form2, and in Form2 the property IsInheritedOwner=true.
When run the application, just label1 is translated.
What am I doing wrong? Why components of the father are not being translated as the Child ones?
Translating with inherited forms
Igor,
I tried a very simple project: 3 forms, first with 2 buttons to call the others, and configuration for the Dispatcher to use an external file. Second with a label and the third, child of second, with nothing else than the inherited components of form2.
I created the .sil file with the translation for form2, and put on the third isinheritedowner = true.
When I call the second form, translation is perfect. But when I call the third one, translation not happens.
Some information that I forgot to put before: I am using Delphi 2007, tsLang 6.0.3.2 and an external .sil to do the translation.
Best regards,
Rodrigo Kreiss
I tried a very simple project: 3 forms, first with 2 buttons to call the others, and configuration for the Dispatcher to use an external file. Second with a label and the third, child of second, with nothing else than the inherited components of form2.
I created the .sil file with the translation for form2, and put on the third isinheritedowner = true.
When I call the second form, translation is perfect. But when I call the third one, translation not happens.
Some information that I forgot to put before: I am using Delphi 2007, tsLang 6.0.3.2 and an external .sil to do the translation.
Best regards,
Rodrigo Kreiss
Rodrigo,
Thank you for the details. I would suggest you first to update to the most recent version from our web site (6.1.0.1).
Does your SIL file includes translations for third form too?
P.S. The sample project will dramatically help us and speed-up to identify yours or our mistake.
Thank you for the details. I would suggest you first to update to the most recent version from our web site (6.1.0.1).
Does your SIL file includes translations for third form too?
P.S. The sample project will dramatically help us and speed-up to identify yours or our mistake.

Best regards,
Igor Siticov.
Igor Siticov.