Property IsSubComponent does not exist
Posted: Fri Jul 15, 2022 7:02 am
Delphi 11.1
TsiLang v7.9.2
In my Delphi 11 project, I call This has worked fine for many years, but I now get an error after editing the SIB file with the TsiLang Files Editor v7.9.2.
So, I now have two copies of this file, one edited with v7.9.2 of the Files Editor and one edited with v7.8.4.
When I load the SIB file edited with v7.9.2 then I get this error:
I have attempted to create a small test project to reproduce this issue but it loads both versions of the SIB file without any issues.
So, maybe I am doing something wrong in my main project and wonder if you maybe have an idea of what that might be?
Or, maybe there is something wrong with the v7.9.2 editor?
(Note: loading a v7.9.2 SIL file works OK.)
TsiLang v7.9.2
In my Delphi 11 project, I call
Code: Select all
siLangDispatcher1.LoadAllFromFile('MyTranslations.SIB')
So, I now have two copies of this file, one edited with v7.9.2 of the Files Editor and one edited with v7.8.4.
When I load the SIB file edited with v7.9.2 then I get this error:
When I load the SIB file edited with v7.8.4 then I do not get the error.Error reading _1.ExtendedTranslations: Error reading TsiExtendedItem.IsSubComponent: Property IsSubComponent does not exist
I have attempted to create a small test project to reproduce this issue but it loads both versions of the SIB file without any issues.
So, maybe I am doing something wrong in my main project and wonder if you maybe have an idea of what that might be?
Or, maybe there is something wrong with the v7.9.2 editor?
(Note: loading a v7.9.2 SIL file works OK.)