Page 1 of 1

Property IsSubComponent does not exist

Posted: Fri Jul 15, 2022 7:02 am
by plumothy
Delphi 11.1
TsiLang v7.9.2

In my Delphi 11 project, I call

Code: Select all

siLangDispatcher1.LoadAllFromFile('MyTranslations.SIB')
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:
Error reading _1.ExtendedTranslations: Error reading TsiExtendedItem.IsSubComponent: Property IsSubComponent does not exist
When I load the SIB file edited with v7.8.4 then I do not get the 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.)

Re: Property IsSubComponent does not exist

Posted: Fri Jul 15, 2022 9:17 am
by isiticov
Hello,

As per email conversation, the problem was fixed by re-install and fixing the paths.