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