Define default dictionary ?

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
tomtom62
Posts: 13
Joined: Tue Jul 20, 2004 11:28 am

Define default dictionary ?

Post by tomtom62 »

I'm a registered user since 2001, but I only did some trivial translations yet.

I have to translate a given project from German to English but found some "problems", which I'm unable to solve yet.

1. How can I assign a dictionary to a project ?. I have created a certain dictionary but everytime I will "autotranslate" the "default.dic" is selected. I have to browse again and select my dictionary...

2. Is there a chance to allow the enduser to add more languages " on the fly" ?. What do I have to do for that in the project ?.

I saw that demo "enduser" which points in the right direction, but it seems
not to clarify all my questions..

Thanks

Thomas
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,
Please find below the answers to your questions:

1. Just run Dictionary Manager; go to Options and set there the Default Dictionary option. This file will be used as default when using Dictionary Manager for translation automation.

2. Please take a look at http://www.sicomponents.com/forum/viewtopic.php?t=266

Hope this helps.
tomtom62
Posts: 13
Joined: Tue Jul 20, 2004 11:28 am

Post by tomtom62 »

Thanks for help. I ll download the demo and will try to figure out, what it does..
tomtom62
Posts: 13
Joined: Tue Jul 20, 2004 11:28 am

Post by tomtom62 »

Just one quick question:

Do I have to do

Code: Select all

siLangDispatcher1.LoadAllFromFile(siLangRTSE1.SILFile);
for every form or only in mainform ?.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

You may either set FileName property of Dispatcher component (but be sure to catch the right time for getting loaded languages list!) or use LoadAllFromFile for all forms.
tomtom62
Posts: 13
Joined: Tue Jul 20, 2004 11:28 am

Post by tomtom62 »

Thanks, will try it.. :D
Post Reply