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 

Extended Translations

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



Joined: 08 Oct 2003
Posts: 3

PostPosted: Tue Jan 13, 2004 10:45 am    Post subject: Extended Translations Reply with quote

How can I translate with "Extended Translations" (TsiLang Component).

It doesn't work at all. I translated the text, but no effect.
It is also not possible to export it to the .sil file.

Is there any way?

Thanks for help

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


Joined: 21 Nov 2002
Posts: 2095

PostPosted: Tue Jan 13, 2004 11:47 am    Post subject: Reply with quote

Extended Translation Editor is a property editor for TsiLang's ExtendedTranslations property. This includes components' non-string properties, such as Left, Right, Width, Tag, Align etc. as well as all properties of any sub-level components such as TLabeledEdit. This could be very useful, for instance, for repositioning or rescaling controls, when you translate your application into a language with phrase length more than in original language.

Translating
To include a component's property into the list of translated properties:

1. Find the component in the Available Properties TreeView (left side of the window), expand the node (pressing the 'plus' sign at the left of the node), then select the property to be translated.
2. Move the property to the Selected Properties list (center of the window), pressing the > (right arrow) button or double-clicking the property.
3. Select it in the Selected Properties list and enter the translations into the Translations grid (right-side of the window) for every language in a manner you used to do in Delphi Object Inspector.
To remove a property from the Selected Properties list select it and press the < (left arrow) button. Press the << (double left arrow) button to remove all the properties at a time.


Doesn't this work for you?
Back to top
View user's profile Send private message
Skim



Joined: 08 Oct 2003
Posts: 3

PostPosted: Tue Jan 13, 2004 12:36 pm    Post subject: It works but... Reply with quote

The problem is that I can't save this translation,
so when I load the .sil at runtime it is not translated anymore.

Probably it's better to keep the translation within the form instead
externally within the .sil file. But we did it this way and to change
everything is a lot of work.

Thanks for answer anyway, Siegfried Kornschober
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2095

PostPosted: Tue Jan 13, 2004 1:48 pm    Post subject: Reply with quote

Then I suggest you the following:
Just save the form to SIL file using TsiLang Expert and your ExtendedTranslations will be saved to the files as well. When loading use LoadAllFromFile and ExtendedTranslations will be loaded as well at run-time.
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