form in pakage
-
- Posts: 4
- Joined: Wed Jun 13, 2007 5:38 am
form in pakage
I have a form in a pakage inherited from one of the forms in my exe, I'd like to load the translation for the base form and then load only a separate translation for the objects added in the package, is this possible?
-
- Posts: 4
- Joined: Wed Jun 13, 2007 5:38 am
The problem with merge is that, as far as I can tell, you need an original file with the translation for the form and an additional one with the the missing strings, the classname of the form in the base exe is different from the one in the package so I don't have a complete translation to start with, is it possible to force the load of translation for a different class?
-
- Posts: 4
- Joined: Wed Jun 13, 2007 5:38 am
If you translate the base form and don't change any translation of its controls in inherited form then it will be re-used by TsiLang. If you change any base control's translation in inherited form then you will need to re-translate base control. Also please be sure to set IsInheritedOwner=True for TsiLang on inherited form.
Best regards,
Igor Siticov.
Igor Siticov.
-
- Posts: 4
- Joined: Wed Jun 13, 2007 5:38 am
No, I guess this won't work when DFM is empty and translations loaded from SIB file. When loading from SIB file TsiLang will just replace internal data with the information from SIB file. So if loading from SIB you need to be sure your SIB includes in inherited form all components translations.
Best regards,
Igor Siticov.
Igor Siticov.