Search found 4 matches

by Ferenc Nemeth
Wed Oct 14, 2015 7:26 am
Forum: TsiLang Components Suite
Topic: siLang load from stream
Replies: 4
Views: 11053

hi again :-)

sorry , of course there is no problem in your code :-)

so we save the sil file in utf-8 style but the option in the sil file was not set.
IsUTF8File=1

after set it to true, everything is ok, so thank you very much for your help!

best regards from HUNGARY!
by Ferenc Nemeth
Wed Oct 14, 2015 6:59 am
Forum: TsiLang Components Suite
Topic: siLang load from stream
Replies: 4
Views: 11053

hi, now i can debug the LoadAllFrom... i find something as I see the file starts like this: '[Language names - for internal use only!]' because the firs chars this section does not load. As I see the file was saved as UTF8 file and it is the problem. If I save it as ANSI file, there is no problem...
by Ferenc Nemeth
Wed Oct 14, 2015 6:41 am
Forum: TsiLang Components Suite
Topic: siLang load from stream
Replies: 4
Views: 11053

hi, thank you very much for your quick response. I have tried LoadAllfromStream method of course but after it when I try to set the active language it fails. I see the languages list but nothing in it. After a half day I have found MergeAllFrom,... that loads everything , but when i use GetTextOrDef...
by Ferenc Nemeth
Tue Oct 13, 2015 12:32 pm
Forum: TsiLang Components Suite
Topic: siLang load from stream
Replies: 4
Views: 11053

siLang load from stream

Hi i have a simple question. I use TsiLang component. I hava a SIL file for a form. I would like to load this file into a TMemoryStream, and load it into the TsiLang component. How to do it? My other problem. I have tried to debug the source code. We have the full version. But cannot step into the s...