MessageDlg
Posted: Mon Aug 31, 2009 4:45 pm
Hi.
I'm trying to use SiLang to translate the standard message dialogs. I have placed a TsiLang-component on a data-module and translated all required strings in the "Dialogs"-section. This component is connected to a language-dispatcher component. However when I call "siLang1->MessageDlg(msg, dlgType, buttons, helpCtx, defaultBtn, cancelBtn);" I always get the untranslated standard text, regardless of which "ActiveLanguage" is set (that from the first column). When inspecting the TsiLang-component "ActiveLanguage" has the correct value. Changing it manually in the debug-inspector also results in the same result-string.
What's wrong? Any ideas?
Thanks
Best Regards
P.S.:
Using TsiLang version 6.4 with CB2007
I'm trying to use SiLang to translate the standard message dialogs. I have placed a TsiLang-component on a data-module and translated all required strings in the "Dialogs"-section. This component is connected to a language-dispatcher component. However when I call "siLang1->MessageDlg(msg, dlgType, buttons, helpCtx, defaultBtn, cancelBtn);" I always get the untranslated standard text, regardless of which "ActiveLanguage" is set (that from the first column). When inspecting the TsiLang-component "ActiveLanguage" has the correct value. Changing it manually in the debug-inspector also results in the same result-string.
What's wrong? Any ideas?
Thanks
Best Regards
P.S.:
Using TsiLang version 6.4 with CB2007