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 

Great product and some thoughts

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



Joined: 05 Nov 2004
Posts: 17

PostPosted: Fri Nov 05, 2004 9:34 am    Post subject: Great product and some thoughts Reply with quote

Firs of all I have to congratulate the siLang developers for giving a great product to us. I was able to internationalize one of my projects (http://www.rt-science.com/rt-plot.html) within one week. During this work some possible Improvements came into my mind.

1) I would highly appreciate if in the Language editor the table rows could be multiple selected (with ctrl click or shift click) to mark multiple properties to be excluded from translation.

2) Is there a way to undo the removal of excluded properties?

3) On most of my forms I need to translate string constants which are needed in my code. The siLang Expert will place some extra lines to the code as:
Adding the “UpdateStrings” at the end of the TMyForm.siLang1ChangeLanguage(Sender: TObject)
This is in my opinion not optimal, because I have to add code to this procedure which is dependant on the updated strings (Updating Action menus, Ins/Overwrite display etc.). This code must be after the “UpdateStrings” statement.
If I need to add additional strings by the expert it will place an additional “UpdateStrings” at the end.
In my opinion the UpdateStrings should be called siLang internally by the calling procedure which calls the User Event. There is no need to change user code in a user event. If this is not possible by design, the “UpdateStrings” statement should be placed at the beginning of the ChangeLanguage event by the siLang Expert.

4) In one case in my code I used a
const array[1..MaxStr] of sting = (…);
for filling the hints of a dynamically created form. siLang can translate string constants, it can translate multiple lines as lists etc. but it is not able to detect string constant arrays. In the above case I had to convert the array to one string constant using line breaks as separators for the items. I had to write a procedure to extract the single items to fill the hints.

With kind regards

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


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sat Nov 06, 2004 12:38 pm    Post subject: Re: Great product and some thoughts Reply with quote

Horst Reichert wrote:

1) I would highly appreciate if in the Language editor the table rows could be multiple selected (with ctrl click or shift click) to mark multiple properties to be excluded from translation.


Will try to improve

Quote:

2) Is there a way to undo the removal of excluded properties?


No, at least not yet Smile

Quote:

3) ...
If I need to add additional strings by the expert it will place an additional “UpdateStrings” at the end.
In my opinion the UpdateStrings should be called siLang internally by the calling procedure which calls the User Event. There is no need to change user code in a user event. If this is not possible by design, the “UpdateStrings” statement should be placed at the beginning of the ChangeLanguage event by the siLang Expert.


Will try to improve. But I thought that it add it at the beginning Smile


Quote:

4) In one case in my code I used a
const array[1..MaxStr] of sting = (…);
for filling the hints of a dynamically created form. siLang can translate string constants, it can translate multiple lines as lists etc. but it is not able to detect string constant arrays. In the above case I had to convert the array to one string constant using line breaks as separators for the items. I had to write a procedure to extract the single items to fill the hints.

http://www.tsilang.com/delphiglobalizationtool_faq.html#11
Back to top
View user's profile Send private message
Horst Reichert



Joined: 05 Nov 2004
Posts: 17

PostPosted: Mon Nov 08, 2004 9:08 am    Post subject: Re: Great product and some thoughts Reply with quote

Dear Isiticov,
thanks for your answer...
It seems that every whish I have will soon be fulfilled Wink

Quote:

4) In one case in my code I used a
const array[1..MaxStr] of sting = (…);
for filling the hints of a dynamically created form. siLang can translate string constants, it can translate multiple lines as lists etc. but it is not able to detect string constant arrays. In the above case I had to convert the array to one string constant using line breaks as separators for the items. I had to write a procedure to extract the single items to fill the hints.

http://www.tsilang.com/delphiglobalizationtool_faq.html#11[/quote]

I still prefer to handle one array or one string constant instead of inserting 30 constants to the code.

With kind regards

Horst
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