Can't load SIB but SIL is ok
Posted: Thu Dec 30, 2004 10:09 pm
Using 5.3.2 and BCB 6
I've set up a test app with:
1. TsiLangDispatcher and TsiLang on an auto-created data module
2. TsiLangLinked components on each of several forms (linked to the above two components)
I then create two files (test.SIL and test.SIB) to test both formats.
In the constructor of the data module I load the SIL file with no problems:
It's my understanding that this is all that is needed to load the language file and make the translations available. This works well, and I can swap between the two languages that my SIL file contains.
But if I modify the code and try to load the SIB file, language swapping has no affect:
There are no exceptions.
BTW, test.SIB loads succesfully into SILEditor and displays the correct translations.
However, when I load test.SIL (the file that seems to work) into SILEditor I get an error "Too many languages found" and the Fragment displays "DEFAULT_CHARSET~!@#$~!@#$~!@#$
Any help gratefully received.
--
Antony
I've set up a test app with:
1. TsiLangDispatcher and TsiLang on an auto-created data module
2. TsiLangLinked components on each of several forms (linked to the above two components)
I then create two files (test.SIL and test.SIB) to test both formats.
In the constructor of the data module I load the SIL file with no problems:
Code: Select all
LangDisp->FileName = "test.sil";
But if I modify the code and try to load the SIB file, language swapping has no affect:
Code: Select all
LangDisp->FileName = "test.sib";
BTW, test.SIB loads succesfully into SILEditor and displays the correct translations.
However, when I load test.SIL (the file that seems to work) into SILEditor I get an error "Too many languages found" and the Fragment displays "DEFAULT_CHARSET~!@#$~!@#$~!@#$
Any help gratefully received.
--
Antony