Translation for VCL\Const.pas

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Phoner
Posts: 23
Joined: Tue May 02, 2006 6:48 am

Translation for VCL\Const.pas

Post 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.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Phoner
Posts: 23
Joined: Tue May 02, 2006 6:48 am

Post 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.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

It is strange. We will investigate this. What IDE version do you use?
Best regards,
Igor Siticov.
Phoner
Posts: 23
Joined: Tue May 02, 2006 6:48 am

Post 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!
Post Reply