now everything is as it should be
Great, It Works.
Thanks
Berst Regards
STevo
Search found 5 matches
- Thu Oct 29, 2020 8:57 am
- Forum: TsiLang Components Suite
- Topic: Automatic change of a translation
- Replies: 19
- Views: 53063
- Wed Oct 28, 2020 8:03 am
- Forum: TsiLang Components Suite
- Topic: Automatic change of a translation
- Replies: 19
- Views: 53063
Re: Automatic change of a translation
It is true in my case is SIB file not loaded 
I tryed your code but it dont work. I attach small test project. I can not find good way for using OnLinkToDispatcher

I tryed your code but it dont work. I attach small test project. I can not find good way for using OnLinkToDispatcher
- Tue Oct 27, 2020 2:45 pm
- Forum: TsiLang Components Suite
- Topic: Automatic change of a translation
- Replies: 19
- Views: 53063
Re: Automatic change of a translation
if i not assign value for FileName, it is call only LoadAllFromFile, then
ReplaceStringValue not work in OnCreateForm, but work in OnLinkToDispatcher .
it is fine solution for me
Thanks
Best Regards
STevo
ReplaceStringValue not work in OnCreateForm, but work in OnLinkToDispatcher .
it is fine solution for me
Thanks
Best Regards
STevo
- Tue Oct 27, 2020 2:17 pm
- Forum: TsiLang Components Suite
- Topic: Automatic change of a translation
- Replies: 19
- Views: 53063
Re: Automatic change of a translation
Yes
in DataModuleCreate i call
siLangDispatcher1.FileName := SibFile;
siLangDispatcher1.LoadAllFromFile(SibFile);
and after is call siLangDispatcher1LinkToDispatcher from Form1
Command ReplaceStringValue and ChangeLanguage was executed
in DataModuleCreate i call
siLangDispatcher1.FileName := SibFile;
siLangDispatcher1.LoadAllFromFile(SibFile);
and after is call siLangDispatcher1LinkToDispatcher from Form1
Command ReplaceStringValue and ChangeLanguage was executed
- Tue Oct 27, 2020 1:47 pm
- Forum: TsiLang Components Suite
- Topic: Automatic change of a translation
- Replies: 19
- Views: 53063
Re: Automatic change of a translation
Hello i tryed use ReplaceStringValue and ChangeLanguage in event OnCreate form event. OK It worked. But in topic Change Font you wrote "You can try to use OnLinkToDispatcher event..." I tryed it - see my code - but this not worked: procedure TDM.siLangDispatcher1LinkToDispatcher(Sender: TO...