Page 1 of 1

failed to load translated resource string

Posted: Mon Dec 03, 2007 5:50 pm
by sean
Hi,

after rebuilding the TsiLang component suite manually, calling the LoadResString function always return the untranslated string.
(using BDS 2006)

why?

thanks!

Posted: Mon Dec 03, 2007 6:02 pm
by isiticov
Hello.
It is almost impossible to tell you the reason of that without knowing other details. May be you didn't set HandleResourceStrings=True, or you have another TsiLang in project with this property set to True. Or your translations don't include translation for this resource string. If you're able to reproduce the problem on any sample project and sent it to us then we would try to find a reason for such error.

Posted: Tue Dec 04, 2007 2:58 am
by sean
they are just the same project codes, which work flawlessly before REBUILDING the TsiLang component suite package(TSiLang_C2006r.bdsproj & TSiLang_C2006.bdsproj)

Posted: Tue Dec 04, 2007 4:41 am
by sean
I finally found out the problem, i need to add a conditional defines "CBUILDER" to the Pascal Compiler options while I am rebuilding TSiLang_C2006r.bdsproj & TSiLang_C2006.bdsproj packages