How to translate ShowMessage() function

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
TariqChanggez
Posts: 7
Joined: Sun Sep 18, 2005 3:32 pm

How to translate ShowMessage() function

Post by TariqChanggez »

I am a newbie. :(
I don't know how to translate a ShowMessage() string for example: ShowMessage('Hello World'). I want it to be translated into the Active Language. Where shall I translate the string "Hello World".

There is a tree node named "Strings" under "General Translations", but I don't now what is the purpose of it, and how to use it.
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

You can use TsiLang Expert (Delphi menu Tools->TsiLang Expert) select you form and in expert's menu use File -> Source -> With Forms. Expert will scan your source and display found strings. Delete from appeared grid not needed strings and click Modify. This wil replace the source strings with the respective call of TsiLang method. And replaced strings will appear under Strings section.

Also you may take a look into TsiLang Components Suite User's Guide available for download from our site. There you will find a lot of useful information as well as some tips and tricks.

Hope this helps.
Best regards,
Igor Siticov.
Post Reply