[Solved] ResourceString

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Thib
Posts: 3
Joined: Tue Jun 20, 2006 1:03 pm

[Solved] ResourceString

Post by Thib »

Hello,

I have many projects which use one unit which contains all my resourcestrings. When I use the PE Import, it retrieves all the strings of the exe file.
But there are too many strings, I just want traduce the resourcestring of my unit.

Do you know how to do this ?

Thanks

Thib
Last edited by Thib on Tue Jun 20, 2006 3:13 pm, edited 1 time in total.
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,

Actually, most of your strings will be groupped in the list, but Wizard unable to distinguish between "your" strings and others. So you will have to find your strings and import them.
Additionally, you can try to use use CONST section translation (if you use Delphi) and rename resourcestring keyword to var after this.

Hope this helps.
Best regards,
Igor Siticov.
Thib
Posts: 3
Joined: Tue Jun 20, 2006 1:03 pm

Post by Thib »

Thank you for your reply

what is the difference between resourcestring and const ?
Is it important ?
I read that resourcestring are used for messages ?

Thank you
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Resource strings are stored in executable resources and when translating them they will be duplicated in TsiLang too. When using CONST section they will be stored in TsiLang only. And additionally this gives you the more comfortable way of translating them since you will see all of them at once and won't need to search them from all application's strings.
Best regards,
Igor Siticov.
Thib
Posts: 3
Joined: Tue Jun 20, 2006 1:03 pm

Post by Thib »

Really good

Thank you very much
Post Reply