SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dynamic language

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
tomtom62



Joined: 20 Jul 2004
Posts: 13

PostPosted: Thu Jul 22, 2004 4:38 pm    Post subject: Dynamic language Reply with quote

Hi,

your advice (Define default directory) has worked, thanks for it. I also tried the dynamic language example, which seems to work as expected, but:

1. I have to connect 50 tsilang components to one dispatcher. How could this be done without opening all 50 forms ?

2. I created a .sib file from the whole project (btw. the editor has much improved ). How can I only display the strings which should be (needed to be) translated, as there are strings like SQL statements, fieldnames which must not be translated ?

3. How are the silang Components be notified, that there is a new (third, fourth) language beeing added ?. Is that being done by the dispatcher ?

Regards

Thomas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Jul 23, 2004 4:43 am    Post subject: Reply with quote

Hi,

1. Yes, you havme to open all forms manually and assign the Dispatcher property.
2. In order to exclude properties/components from translation just use ExcludedProperties, DoNotTranslate and SmartExcluded properties from TsiLang. This will allow you to exclude anything you want. Also this could be done directly from design-time TsiLang Translations Editor.
3. Components automatcially update amount of language and other language settings on file loading or when the language settings were changed in dispatcher.
Hope this helps.
Back to top
View user's profile Send private message
tomtom62



Joined: 20 Jul 2004
Posts: 13

PostPosted: Fri Jul 23, 2004 4:50 pm    Post subject: Reply with quote

Thanks, it was an awful job to assign the dispatcher to all 50 forms ,but -).

How can I exclude Fonts, Charsets,Displaylabels in general for the whole project ?

Any chance to exclude e.g. all components of type IB_QUERY from translation ?

Thomas
Back to top
View user's profile Send private message
tomtom62



Joined: 20 Jul 2004
Posts: 13

PostPosted: Fri Jul 23, 2004 5:21 pm    Post subject: Reply with quote

Hi,

I'm using a .sib file for the whole project. Is there any chance to add the content of the .sib file "back" to the project, so that the translations are stored in the source of the project again ?

Thomas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Jul 23, 2004 6:35 pm    Post subject: Reply with quote

tomtom62 wrote:
Thanks, it was an awful job to assign the dispatcher to all 50 forms ,but -).

How can I exclude Fonts, Charsets,Displaylabels in general for the whole project ?

Any chance to exclude e.g. all components of type IB_QUERY from translation ?

Just open TsiLang Expert, select all forms, and click File|Exclude Properties. Then use Exclude Properties dialog and enter the property names to exclude.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Jul 23, 2004 6:36 pm    Post subject: Reply with quote

tomtom62 wrote:
Hi,

I'm using a .sib file for the whole project. Is there any chance to add the content of the .sib file "back" to the project, so that the translations are stored in the source of the project again ?


Open TsiLang Expert, select in menu File|Save\Load Translations|Load Project , locate your file and it will be loaded to all project's forms.
Back to top
View user's profile Send private message
tomtom62



Joined: 20 Jul 2004
Posts: 13

PostPosted: Wed Jul 28, 2004 5:25 pm    Post subject: Reply with quote

adding the content of the .sib file to the project does not work. I did it twice withe the result, that I have toe reopen each form (50 !) to assign the language names back.

There are also all translation infos gone. All I have now is a .sib file which contains all the translation infos and an "empty" project.

I did

Open the expert.

OPen File/SAveLoad Translation/ Load project

Select my .sib file

and accepted all changes to the forms.

There are errors coming up, that there are languagenames not assigned.

The first run they where 2 on the second there was only 1.

Regards

Thomas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Thu Jul 29, 2004 6:21 am    Post subject: Reply with quote

tomtom62 wrote:

There are errors coming up, that there are languagenames not assigned.


Is it possible more details here? Because this looks very strange and we've never seen this before.
Back to top
View user's profile Send private message
tomtom62



Joined: 20 Jul 2004
Posts: 13

PostPosted: Thu Jul 29, 2004 5:20 pm    Post subject: Reply with quote

Hi,

which details do you need ?. I won't do it again as it took me quite a while to go through all forms, had to open them, ignore the errormessages and had to
create the whole project again (compile only (F9) wasn t enough).

What happened was:

The languagenames are no longer assigned to some of the forms.

The error message was something like: silang1.languagenames are not assigned. The possibilities were: ignore cancel ignore all.

The result is: All translations infos on all 50 forms are gone. The "original" captions, hints ... are still available..



Regards

Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group