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 

SaveAllToFile doesn't export all my translations

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



Joined: 02 Apr 2007
Posts: 3

PostPosted: Mon Apr 02, 2007 11:07 am    Post subject: SaveAllToFile doesn't export all my translations Reply with quote

Hi,

I use a TSiLangDispatcher linked with many other TSiLang components on many forms.

When at runtime I perform a MySiLangDispatcher.SaveAllToFile(...), the generated file only contains the translations of the "already" created forms. All the translations of the forms not yet created in memory but existing in the project aren't exported...

Doed anyone can help me about that issue ?

Thanx a lot

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


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Apr 02, 2007 1:55 pm    Post subject: Reply with quote

Hello,

Are you sure you need to perform this at run-time? Because at run-time it is possible to export only created forms. But in case you just need to export your translations to external file then just use TsiLang Expert for this. See menu File | Save/Load Translations.
Back to top
View user's profile Send private message
jbat



Joined: 02 Apr 2007
Posts: 3

PostPosted: Mon Apr 02, 2007 2:16 pm    Post subject: Reply with quote

Hello,

No, I'm not sure that's I really want to do.

I'm a begginer in using tsilang components and I've already succes in making my projects multi-language, but only when :
1) I do the translations myself, during design time,
2) the translations are stored in my dfm.

My project is multi-form based and many forms inherits each-other. Inheritance & translations are perfectly managed with the silang components when translations are stored into the dfm, but : Now, i'm looking for the best way to allow my customer to add any language without me and with the minimum of work for them, espescially when I'll deliver new versions ou updates of my sofware.

I thinked that generating the whole translation file at runtime like I described earlier was a good idea... Maybe not ! Sad

In fact, i'm totally open to any solutions because I really don't see how to make that despite I read the help files and forums...

NB : Sorry for my poor english. That's not my mother tongue Confused
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Apr 02, 2007 3:10 pm    Post subject: Reply with quote

Did you take a look at article posted here: http://www.tsilang.com/press/en/creating_multilanguage_applications_translated_by_users.html ?
I hope it will help you.
Please let us know if there still will remain any troubles with this.
Back to top
View user's profile Send private message
jbat



Joined: 02 Apr 2007
Posts: 3

PostPosted: Tue Apr 03, 2007 8:03 am    Post subject: Reply with quote

Great ! Very Happy

A quick test let me think it will be exactly what I need...

Thanks a lot Wink

nb:Don't know how could I miss that article/link earlier...
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