Dialog messages on datamodule
Posted: Mon Jul 16, 2007 1:00 am
Hi, I'm using Delphi7 pro with siLang 6.1.0.1 on XP Pro.
I have a siLang component on a datamodule type form with no font property, and when I change language to a unicode language like Japanese, the dialog captions and the hardcoded GetTextOrDefault message are not displaying properly. The translations for ansi languages like Spanish or Swedish are no problem, but not Japanese, Korean etc.
In the silang components ChangeLanguage event I change the Silang1.CurrentCharset property but it doesn't seem to make any difference. I'm using a function I wrote which is passed the ActiveLanguage integer property value, and returns the correct Charset, and this function works fine on other ordinary forms. Is there something else I need to do? There doesn't seem to be a CurrentFont property for SiLang components or the dispatcher either.
TIA Nick
I have a siLang component on a datamodule type form with no font property, and when I change language to a unicode language like Japanese, the dialog captions and the hardcoded GetTextOrDefault message are not displaying properly. The translations for ansi languages like Spanish or Swedish are no problem, but not Japanese, Korean etc.
In the silang components ChangeLanguage event I change the Silang1.CurrentCharset property but it doesn't seem to make any difference. I'm using a function I wrote which is passed the ActiveLanguage integer property value, and returns the correct Charset, and this function works fine on other ordinary forms. Is there something else I need to do? There doesn't seem to be a CurrentFont property for SiLang components or the dispatcher either.
TIA Nick