Page 1 of 1

Translation for VCL\Const.pas

Posted: Fri Jun 05, 2009 8:59 am
by Phoner
In this above file the VCL defines a lot of strings. In my case there are German strings.
Is there any way to to use a runtime translation for these strings?
my problem is, that I use Jcl and Jvcl that use these string definitions for there implementation of MessageDlg. See the file JvDSADialogs in Jvcl.

Posted: Mon Jun 08, 2009 10:38 am
by isiticov
Strings in these unit are resource strings. You can let TsiLang to handle resource strings translations and then it will try to translate them at run-time.

Posted: Tue Jun 09, 2009 12:09 pm
by Phoner
I did all the steps explained in the help file for "Translating Resource Strings". But after finish my existing translations are gone. Only the first language is still alive - all the rest is empty then.
I used the TsiLang Expert to import resource strings.

Posted: Tue Jun 09, 2009 12:48 pm
by isiticov
It is strange. We will investigate this. What IDE version do you use?

Posted: Wed Jun 10, 2009 8:26 am
by Phoner
I am using RAD Studio 2009 with latest updates (Update 3).

Because I needed only translations for about 10 strings from resource, I inserted these manually and it works now. Thanks.
TsiLang is a great tool!